Package org.snmp4j.smi
Class Gauge32
java.lang.Object
org.snmp4j.smi.AbstractVariable
org.snmp4j.smi.UnsignedInteger32
org.snmp4j.smi.Gauge32
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Variable>,BERSerializable,AssignableFromLong,AssignableFromString,Variable
The
Gauge32 class is indistinguishable from
UnsingedInteger32.- Version:
- 1.0
- Author:
- Frank Fock
- See Also:
-
Field Summary
Fields inherited from class org.snmp4j.smi.UnsignedInteger32
valueFields inherited from class org.snmp4j.smi.AbstractVariable
SMISYNTAXES_PROPERTIES -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.snmp4j.smi.UnsignedInteger32
compareTo, decodeBER, encodeBER, equals, fromSubIndex, getBERLength, getBERLengthFromValue, getValue, hashCode, setValue, setValue, toInt, toLong, toString, toSubIndexMethods inherited from class org.snmp4j.smi.AbstractVariable
createFromBER, createFromSyntax, equal, getBERPayloadLength, getSyntaxFromString, getSyntaxString, getSyntaxString, isDynamic, isException
-
Constructor Details
-
Gauge32
public Gauge32() -
Gauge32
public Gauge32(long value)
-
-
Method Details
-
getSyntax
public int getSyntax()Description copied from class:AbstractVariableGets the ASN.1 syntax identifier value of this SNMP variable.- Specified by:
getSyntaxin interfaceVariable- Overrides:
getSyntaxin classUnsignedInteger32- Returns:
- an integer value less than 128 for regular SMI objects and a value greater or equal than 128 for exception values like noSuchObject, noSuchInstance, and endOfMibView.
-
clone
Description copied from interface:VariableClones this variable. Cloning can be used by the SNMP4J API to better support concurrency by creating a clone for internal processing. The content of this object is independent to the content of the clone. Thus, changes to the clone will have no effect to this object.- Specified by:
clonein interfaceVariable- Overrides:
clonein classUnsignedInteger32- Returns:
- a new instance of this
Variablewith the same value.
-