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


Variable Index

 o value

Constructor Index

 o SnmpNull()
The constructor to create a null SNMP variable

Method Index

 o toBytes()
To return the value as raw bytes
 o toString()
To convert the object to a printable string
 o toTagString()
To convert the object to a printable string tagged with Type:
 o toValue()
Function to return value of SNMP variable as an appropriate Object type, in this case returns null.

Variables

 o value
 protected int value

Constructors

 o SnmpNull
 public SnmpNull()
The constructor to create a null SNMP variable

Methods

 o 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
 o toString
 public String toString()
To convert the object to a printable string

Overrides:
toString in class SnmpVar
 o toBytes
 public byte[] toBytes()
To return the value as raw bytes

Overrides:
toBytes in class SnmpVar
 o 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