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.
-
SnmpOpaque(Byte[])
- Constructs a new SnmpOpaque with the specified Bytes.
-
SnmpOpaque(byte[])
- Constructs a new SnmpOpaque with the specified bytes.
-
SnmpOpaque(String)
- Constructs a new SnmpOpaque with the specified JAVA string.
-
getTypeName()
- Returns a textual description of the object.
-
toString()
- Convert the opaque to its string form i.e.
SnmpOpaque
public SnmpOpaque(byte v[])
- Constructs a new SnmpOpaque with the specified bytes.
- Parameters:
- v - The encoding of the opaque value.
SnmpOpaque
public SnmpOpaque(Byte v[])
- Constructs a new SnmpOpaque with the specified Bytes.
- Parameters:
- v - The encoding of the opaque value.
SnmpOpaque
public SnmpOpaque(String s)
- Constructs a new SnmpOpaque with the specified JAVA string.
- Parameters:
- v - The encoding as a JAVA string.
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
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