org.snmp4j.smi
Class ReadonlyVariableCallback

java.lang.Object
  extended by org.snmp4j.smi.ReadonlyVariableCallback
All Implemented Interfaces:
VariantVariableCallback

public abstract class ReadonlyVariableCallback
extends java.lang.Object
implements 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
ReadonlyVariableCallback()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadonlyVariableCallback

public ReadonlyVariableCallback()
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 interface VariantVariableCallback
Parameters:
variable - the VariantVariable 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 interface VariantVariableCallback
Parameters:
variable - the VariantVariable that has been updated.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.