All Packages Class Hierarchy This Package Previous Next Index
Class Snmp.SnmpVar
java.lang.Object
|
+----Snmp.SnmpVar
- public abstract class SnmpVar
- extends Object
Abstract class of SNMP Variable that is a super-class of all
available SNMP types, e.g. integer, IpAddress, etc.
-
Type
- Type of SNMP variable based on static definitions in the SnmpAPI class,
e.g.
-
SnmpVar()
-
-
toBytes()
- To return the value as raw bytes
-
toString()
- To convert to printable string used in printing variables
-
toTagString()
- To convert to printable string with object type tag used in
printing variables more descriptively, e.g.
-
toValue()
- Function to return value of SNMP variable as an appropriate Object type,
e.g.
Type
public byte Type
- Type of SNMP variable based on static definitions in the SnmpAPI class,
e.g. SnmpAPI.INTEGER, SnmpAPI.TIMETICKS, etc.
SnmpVar
public SnmpVar()
toValue
public abstract Object toValue()
- Function to return value of SNMP variable as an appropriate Object type,
e.g. Integer, String, etc.
toString
public abstract String toString()
- To convert to printable string used in printing variables
- Overrides:
- toString in class Object
toTagString
public abstract String toTagString()
- To convert to printable string with object type tag used in
printing variables more descriptively, e.g. INTEGER: value.
toBytes
public abstract byte[] toBytes()
- To return the value as raw bytes
All Packages Class Hierarchy This Package Previous Next Index