goldengate.snmp.test
Class ExampleImplGauge32

java.lang.Object
  extended by org.snmp4j.smi.AbstractVariable
      extended by org.snmp4j.smi.UnsignedInteger32
          extended by org.snmp4j.smi.Gauge32
              extended by goldengate.snmp.interf.GgGauge32
                  extended by goldengate.snmp.test.ExampleImplGauge32
All Implemented Interfaces:
Serializable, Cloneable, Comparable<org.snmp4j.smi.Variable>, org.snmp4j.asn1.BERSerializable, org.snmp4j.smi.AssignableFromLong, org.snmp4j.smi.AssignableFromString, org.snmp4j.smi.Variable

public class ExampleImplGauge32
extends GgGauge32

Example of GgGauge32 Usage

Author:
Frederic Bregier
See Also:
Serialized Form

Field Summary
 org.snmp4j.smi.OID oid
           
 
Fields inherited from class org.snmp4j.smi.UnsignedInteger32
value
 
Fields inherited from class org.snmp4j.smi.AbstractVariable
SMISYNTAXES_PROPERTIES
 
Constructor Summary
ExampleImplGauge32(org.snmp4j.smi.OID oid)
           
ExampleImplGauge32(org.snmp4j.smi.OID oid, long value)
           
 
Method Summary
protected  void setInternalValue()
          Function to set the data before it is accessed by SNMP4J.
protected  void setInternalValue(long value)
          Function to set the data before it is accessed by SNMP4J.
 
Methods inherited from class goldengate.snmp.interf.GgGauge32
clone, getValue, isDynamic
 
Methods inherited from class org.snmp4j.smi.Gauge32
getSyntax
 
Methods inherited from class org.snmp4j.smi.UnsignedInteger32
compareTo, decodeBER, encodeBER, equals, fromSubIndex, getBERLength, hashCode, setValue, setValue, toInt, toLong, toString, toSubIndex
 
Methods inherited from class org.snmp4j.smi.AbstractVariable
createFromBER, createFromSyntax, equal, getBERPayloadLength, getSyntaxFromString, getSyntaxString, getSyntaxString, isException
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

oid

public org.snmp4j.smi.OID oid
Constructor Detail

ExampleImplGauge32

public ExampleImplGauge32(org.snmp4j.smi.OID oid)

ExampleImplGauge32

public ExampleImplGauge32(org.snmp4j.smi.OID oid,
                          long value)
Method Detail

setInternalValue

protected void setInternalValue()
Description copied from class: GgGauge32
Function to set the data before it is accessed by SNMP4J. This function MUST call setValue(long)

Specified by:
setInternalValue in class GgGauge32

setInternalValue

protected void setInternalValue(long value)
Description copied from class: GgGauge32
Function to set the data before it is accessed by SNMP4J. This function MUST call setValue(long)

Specified by:
setInternalValue in class GgGauge32


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.