All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.snmp.common.SnmpOpaque

java.lang.Object
   |
   +----com.sun.jaw.snmp.common.SnmpValue
           |
           +----com.sun.jaw.snmp.common.SnmpString
                   |
                   +----com.sun.jaw.snmp.common.SnmpOpaque

public class SnmpOpaque
extends SnmpString
The SnmpOpaque class is used for representing a SNMP value was type is Opaque as defined in RFC 1155.


Constructor Index

 o SnmpOpaque(Byte[])
Constructs a new SnmpOpaque with the specified Bytes.
 o SnmpOpaque(byte[])
Constructs a new SnmpOpaque with the specified bytes.
 o SnmpOpaque(String)
Constructs a new SnmpOpaque with the specified JAVA string.

Method Index

 o getTypeName()
Returns a textual description of the object.
 o toString()
Convert the opaque to its string form i.e.

Constructors

 o SnmpOpaque
 public SnmpOpaque(byte v[])
Constructs a new SnmpOpaque with the specified bytes.

Parameters:
v - The encoding of the opaque value.
 o SnmpOpaque
 public SnmpOpaque(Byte v[])
Constructs a new SnmpOpaque with the specified Bytes.

Parameters:
v - The encoding of the opaque value.
 o SnmpOpaque
 public SnmpOpaque(String s)
Constructs a new SnmpOpaque with the specified JAVA string.

Parameters:
v - The encoding as a JAVA string.

Methods

 o toString
 public String toString()
Convert the opaque to its string form i.e. a string of byte express in hexadecimal form

Returns:
The string representation.
Overrides:
toString in class SnmpString
 o getTypeName
 public String getTypeName()
Returns a textual description of the object.

Returns:
ASN.1 textual description.
Overrides:
getTypeName in class SnmpString

All Packages  Class Hierarchy  This Package  Previous  Next  Index