- java.lang.Object
-
- org.snmp4j.smi.ReadonlyVariableCallback
-
- All Implemented Interfaces:
VariantVariableCallback
public abstract class ReadonlyVariableCallback extends Object implements VariantVariableCallback
This abstract class helps to implement aVariantVariableCallback
for 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 void
updateVariable(VariantVariable variable)
The supplied variable needs to be updated because it is about to be read.void
variableUpdated(VariantVariable variable)
The supplied variable's value has been updated.
-
-
-
Method Detail
-
updateVariable
public abstract void updateVariable(VariantVariable variable)
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
public final void variableUpdated(VariantVariable variable)
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.
-
-