org.friendlysnmp.event
Interface FTableValidationListener


public interface FTableValidationListener

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 FTable 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.9 $
See Also:
FTable

Method Summary
 ValueValidation validate(FTable table, java.lang.Object objNewValue, FID idRow, FColumn col, TableRowAction action)
          Invoked when a validation event is fired.
 

Method Detail

validate

ValueValidation validate(FTable table,
                         java.lang.Object objNewValue,
                         FID idRow,
                         FColumn col,
                         TableRowAction action)
Invoked when a validation event is fired.

Parameters:
table - table node object which was changed by MIB browser.
objNewValue - new value to validate.
idRow - row ID.
col - column.
action - one of CHANGE, DELETE, CREATE.
Returns:
validation result