All Packages Class Hierarchy This Package Previous Next Index
Class jsnmp.SnmpOctetString
java.lang.Object
|
+----jsnmp.SnmpVar
|
+----jsnmp.SnmpOctetString
- public class SnmpOctetString
- extends SnmpVar
-
value
-
-
SnmpOctetString(byte[])
-
-
SnmpOctetString(String)
-
-
decode(ByteArrayInputStream, int)
- ASN decoder
-
encode()
- ASN encoder
-
getValue()
- Method used by all SNMP variable definitions to fetch the variable
value.
-
toString()
- To convert the object to a printable string
value
protected byte value[]
SnmpOctetString
public SnmpOctetString(byte s[])
SnmpOctetString
public SnmpOctetString(String s)
getValue
public Object getValue()
- Method used by all SNMP variable definitions to fetch the variable
value.
- Overrides:
- getValue in class SnmpVar
toString
public String toString()
- To convert the object to a printable string
- Overrides:
- toString in class SnmpVar
encode
public byte[] encode()
- ASN encoder
- Overrides:
- encode in class SnmpVar
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