All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jsnmp.SnmpOctetString

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

public class SnmpOctetString
extends SnmpVar

Variable Index

 o value

Constructor Index

 o SnmpOctetString(byte[])
 o SnmpOctetString(String)

Method Index

 o decode(ByteArrayInputStream, int)
ASN decoder
 o encode()
ASN encoder
 o getValue()
Method used by all SNMP variable definitions to fetch the variable value.
 o toString()
To convert the object to a printable string

Variables

 o value
 protected byte value[]

Constructors

 o SnmpOctetString
 public SnmpOctetString(byte s[])
 o SnmpOctetString
 public SnmpOctetString(String s)

Methods

 o getValue
 public Object getValue()
Method used by all SNMP variable definitions to fetch the variable value.

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