public class SnmpOpaque extends SnmpOctetString
| Modifier and Type | Field and Description |
|---|---|
static byte |
ASNTYPE
The ASN.1 type for this class.
|
(package private) static long |
serialVersionUID
Required for version control of serialzation format.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
assumeString, decodeASN, encodeASN, getLength, getString, setString, setStringstatic final long serialVersionUID
public static final byte ASNTYPE
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.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 SnmpOctetStringGenerated by iurt on 2013.