- java.lang.Object
-
- org.snmp4j.smi.ReadonlyVariableCallback
-
- All Implemented Interfaces:
VariantVariableCallback
public abstract class ReadonlyVariableCallback extends java.lang.Object implements VariantVariableCallback
This abstract class helps to implement aVariantVariableCallbackfor a read-only Variable.- Since:
- 1.7
- Version:
- 1.7
- Author:
- Frank Fock
-
-
Constructor Summary
Constructors Constructor Description ReadonlyVariableCallback()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidupdateVariable(VariantVariable variable)The supplied variable needs to be updated because it is about to be read.voidvariableUpdated(VariantVariable variable)The supplied variable's value has been updated.
-
-
-
Method Detail
-
updateVariable
public abstract void updateVariable(VariantVariable variable)
Description copied from interface:VariantVariableCallbackThe supplied variable needs to be updated because it is about to be read.- Specified by:
updateVariablein interfaceVariantVariableCallback- Parameters:
variable- theVariantVariablethat will be read.
-
variableUpdated
public final void variableUpdated(VariantVariable variable)
Description copied from interface:VariantVariableCallbackThe supplied variable's value has been updated.- Specified by:
variableUpdatedin interfaceVariantVariableCallback- Parameters:
variable- theVariantVariablethat has been updated.
-
-