|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpVar | +--com.adventnet.snmp.snmp2.SnmpUnsignedInt | +--com.adventnet.snmp.snmp2.SnmpGauge
Class of SNMP Gauge Variable - Sub-class of SnmpUnsignedInt.
Constructor Summary | |
SnmpGauge(long s)
Constructs a new SnmpGauge which takes a long as its argument. |
Method Summary | |
java.lang.String |
toTagString()
To convert the value of this SnmpGauge object to a printable string, where the type is tagged before the value with the tag Gauge: . |
Methods inherited from class com.adventnet.snmp.snmp2.SnmpUnsignedInt |
equals, getVarObject, longValue, toBytes, toString, toValue |
Methods inherited from class com.adventnet.snmp.snmp2.SnmpVar |
createVariable, getError, getType, getTypeString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SnmpGauge(long s)
s
- the long value to be used for creating a new SnmpGauge object.
The valid value ranges from 0 to 4294967295(both inclusive).Method Detail |
public java.lang.String toTagString()
toTagString
in class SnmpUnsignedInt
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |