All Packages Class Hierarchy This Package Previous Next Index
Class Snmp.SnmpInt
java.lang.Object
|
+----Snmp.SnmpVar
|
+----Snmp.SnmpInt
- public class SnmpInt
- extends SnmpVar
Class of SNMP Integer Variable - Sub-class of SnmpVar
-
byteValue
-
-
value
-
-
SnmpInt(int)
- Constructor - takes integer value of SNMP Variable as argument
-
intValue()
- function to return value as an integer
-
toBytes()
- To return the value as raw bytes
-
toEnumString(SnmpOID)
- To convert the object to a printable string
-
toEnumTagString(SnmpOID)
- To convert the object to a printable string tagged with STRING:
-
toString()
- To convert the object to a printable string
-
toTagString()
- To convert the object to a printable string tagged with STRING:
-
toValue()
- function to return value as an Integer object
value
protected int value
byteValue
protected byte byteValue[]
SnmpInt
public SnmpInt(int i)
- Constructor - takes integer value of SNMP Variable as argument
toValue
public Object toValue()
- function to return value as an Integer object
- Overrides:
- toValue in class SnmpVar
intValue
public int intValue()
- function to return value as an integer
toString
public String toString()
- To convert the object to a printable string
- Overrides:
- toString in class SnmpVar
toEnumString
public String toEnumString(SnmpOID oid)
- To convert the object to a printable string
toTagString
public String toTagString()
- To convert the object to a printable string tagged with STRING:
- Overrides:
- toTagString in class SnmpVar
toEnumTagString
public String toEnumTagString(SnmpOID oid)
- To convert the object to a printable string tagged with STRING:
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