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
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
updateVariable
(VariantVariable variable) The supplied variable needs to be updated because it is about to be read.final void
variableUpdated
(VariantVariable variable) The supplied variable's value has been updated.
-
Constructor Details
-
ReadonlyVariableCallback
public ReadonlyVariableCallback()
-
-
Method Details
-
updateVariable
Description copied from interface:VariantVariableCallback
The supplied variable needs to be updated because it is about to be read.- Specified by:
updateVariable
in interfaceVariantVariableCallback
- Parameters:
variable
- theVariantVariable
that will be read.
-
variableUpdated
Description copied from interface:VariantVariableCallback
The supplied variable's value has been updated.- Specified by:
variableUpdated
in interfaceVariantVariableCallback
- Parameters:
variable
- theVariantVariable
that has been updated.
-