All Packages Class Hierarchy This Package Previous Next Index
Class Snmp.SnmpNull
java.lang.Object
|
+----Snmp.SnmpVar
|
+----Snmp.SnmpNull
- public class SnmpNull
- extends SnmpVar
Class of SNMP Null Variable - Sub-class of SnmpVar
-
value
-
-
SnmpNull()
- The constructor to create a null SNMP variable
-
toBytes()
- To return the value as raw bytes
-
toString()
- To convert the object to a printable string
-
toTagString()
- To convert the object to a printable string tagged with Type:
-
toValue()
- Function to return value of SNMP variable as an appropriate Object type,
in this case returns null.
value
protected int value
SnmpNull
public SnmpNull()
- The constructor to create a null SNMP variable
toValue
public Object toValue()
- Function to return value of SNMP variable as an appropriate Object type,
in this case returns null.
- Overrides:
- toValue in class SnmpVar
toString
public String toString()
- To convert the object to a printable string
- Overrides:
- toString in class SnmpVar
toBytes
public byte[] toBytes()
- To return the value as raw bytes
- Overrides:
- toBytes in class SnmpVar
toTagString
public String toTagString()
- To convert the object to a printable string tagged with Type:
- Overrides:
- toTagString in class SnmpVar
All Packages Class Hierarchy This Package Previous Next Index