|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.protocols.snmp.SnmpOctetString
org.opennms.protocols.snmp.SnmpOpaque
The SnmpOpaque class is an extension of the octet string class and is used to pass opaque data. Opaque data is information that isn't interperted by the manager in general.
| Field Summary | |
static byte |
ASNTYPE
The ASN.1 type for this class. |
| Constructor Summary | |
SnmpOpaque()
The default constructor for this class. |
|
SnmpOpaque(byte[] data)
Constructs an opaque object with the passed data. |
|
SnmpOpaque(SnmpOctetString second)
Constructs an object that is a duplicate of the passed object. |
|
SnmpOpaque(SnmpOpaque second)
Constructs an object that is a duplicate of the passed object. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a duplicate of the current object. |
SnmpSyntax |
duplicate()
Returns a duplicate of the current object. |
java.lang.String |
toString()
Returns a string representation of the object. |
byte |
typeId()
Returns the defined ASN.1 type identifier. |
| Methods inherited from class org.opennms.protocols.snmp.SnmpOctetString |
assumeString, decodeASN, encodeASN, getLength, getString, setString, setString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte ASNTYPE
| Constructor Detail |
public SnmpOpaque()
public SnmpOpaque(byte[] data)
data - The opaque data.public SnmpOpaque(SnmpOpaque second)
second - The object to be duplicated.public SnmpOpaque(SnmpOctetString second)
second - The object to be duplicated.| Method Detail |
public byte typeId()
typeId in interface SnmpSyntaxtypeId in class SnmpOctetStringpublic SnmpSyntax duplicate()
duplicate in interface SnmpSyntaxduplicate in class SnmpOctetStringpublic java.lang.Object clone()
clone in class SnmpOctetStringpublic java.lang.String toString()
toString in class SnmpOctetString
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||