All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jsnmp.SnmpNull

java.lang.Object
   |
   +----jsnmp.SnmpVar
           |
           +----jsnmp.SnmpNull

public class SnmpNull
extends SnmpVar

Variable Index

 o value

Constructor Index

 o SnmpNull()

Method Index

 o decode(ByteArrayInputStream, int)
ASN decoder
 o encode()
ASN encoder
 o getValue()
Function to return value of SNMP variable as an appropriate Object type, in this case returns null.
 o toString()
To convert the object to a printable string

Variables

 o value
 private int value

Constructors

 o SnmpNull
 public SnmpNull()

Methods

 o getValue
 public Object getValue()
Function to return value of SNMP variable as an appropriate Object type, in this case returns null.

Overrides:
getValue in class SnmpVar
 o toString
 public String toString()
To convert the object to a printable string

Overrides:
toString in class SnmpVar
 o encode
 public byte[] encode()
ASN encoder

Overrides:
encode in class SnmpVar
 o decode
 public void decode(ByteArrayInputStream b,
                    int length) throws SnmpException
ASN decoder

Overrides:
decode in class SnmpVar

All Packages  Class Hierarchy  This Package  Previous  Next  Index