Package org.snmp4j.smi
Class ReadonlyVariableCallback
java.lang.Object
org.snmp4j.smi.ReadonlyVariableCallback
- All Implemented Interfaces:
VariantVariableCallback
This abstract class helps to implement a
VariantVariableCallback
for a read-only Variable.- Since:
- 1.7
- Version:
- 1.7
- Author:
- Frank Fock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidupdateVariable(VariantVariable variable) The supplied variable needs to be updated because it is about to be read.final voidvariableUpdated(VariantVariable variable) The supplied variable's value has been updated.
-
Constructor Details
-
ReadonlyVariableCallback
public ReadonlyVariableCallback()
-
-
Method Details
-
updateVariable
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
Description copied from interface:VariantVariableCallbackThe supplied variable's value has been updated.- Specified by:
variableUpdatedin interfaceVariantVariableCallback- Parameters:
variable- theVariantVariablethat has been updated.
-