All Packages Class Hierarchy This Package Previous Next Index
Class Snmp.SnmpUnsignedInt
java.lang.Object
|
+----Snmp.SnmpVar
|
+----Snmp.SnmpUnsignedInt
- public class SnmpUnsignedInt
- extends SnmpVar
-
byteValue
-
-
value
-
-
SnmpUnsignedInt(long)
- The constructor takes a long type as it's argument
-
longValue()
- Function to return value of SNMP variable as a long value.
-
toBytes()
- To return the value as raw bytes
-
toString()
- To convert the object to a printable string used in printing variables
-
toTagString()
- To convert the object to a printable string tagged with UNSIGNED:
-
toValue()
- Function to return value of SNMP variable as a Long object.
value
protected long value
byteValue
protected byte byteValue[]
SnmpUnsignedInt
public SnmpUnsignedInt(long val)
- The constructor takes a long type as it's argument
toValue
public Object toValue()
- Function to return value of SNMP variable as a Long object.
- Overrides:
- toValue in class SnmpVar
longValue
public long longValue()
- Function to return value of SNMP variable as a long value.
toString
public String toString()
- To convert the object to a printable string used in printing variables
- Overrides:
- toString in class SnmpVar
toTagString
public String toTagString()
- To convert the object to a printable string tagged with UNSIGNED:
- Overrides:
- toTagString in class SnmpVar
toBytes
public byte[] toBytes()
- To return the value as raw bytes
- Overrides:
- toBytes in class SnmpVar
All Packages Class Hierarchy This Package Previous Next Index