org.friendlysnmp.event
Interface FScalarValidationListener


public interface FScalarValidationListener

The listener interface for receiving SET validation events from MIB browser. The class that is interested in processing events of this type implements this interface, and the object created with that class is registered with FScalar object. The return value is an enum ValueValidation. Application performs new value validation and accepts it by returning ValueValidation.SUCCESS or rejects it by returning any other ValueValidation.XXXX value. The reject reason is sent to MIB browser.

Version:
$Revision: 1.8 $
See Also:
FScalar

Method Summary
 ValueValidation validate(FScalar scalar, java.lang.Object objNewValue)
          Invoked when a validation event is fired.
 

Method Detail

validate

ValueValidation validate(FScalar scalar,
                         java.lang.Object objNewValue)
Invoked when a validation event is fired.

Parameters:
scalar - scalar node object which was changed by MIB browser.
objNewValue - new value assigned by MIB browser to scalar.
Returns:
validation result