|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.management.snmp.SnmpValue com.sun.management.snmp.SnmpString com.sun.management.snmp.SnmpOpaque
public class SnmpOpaque
Is used to represent an SNMP value.
The Opaque
type is defined in RFC 1155.
Field Summary |
---|
Fields inherited from class com.sun.management.snmp.SnmpString |
---|
value |
Fields inherited from interface com.sun.management.snmp.SnmpDataTypeEnums |
---|
ApplFlag, BitStringTag, BooleanTag, Counter64Tag, CounterTag, CtxtFlag, errEndOfMibViewTag, errNoSuchInstanceTag, errNoSuchObjectTag, GaugeTag, IntegerTag, IpAddressTag, NsapTag, NullTag, ObjectIdentiferTag, ObjectIdentifierTag, OctetStringTag, OpaqueTag, SequenceTag, TableTag, TimeticksTag, UintegerTag, UnknownSyntaxTag |
Constructor Summary | |
---|---|
SnmpOpaque(byte[] v)
Constructs a new SnmpOpaque from the specified bytes array. |
|
SnmpOpaque(Byte[] v)
Constructs a new SnmpOpaque with the specified Bytes array. |
|
SnmpOpaque(String v)
Constructs a new SnmpOpaque from the specified String value. |
Method Summary | |
---|---|
String |
getTypeName()
Returns a textual description of the type object. |
String |
toString()
Converts the opaque to its String form, that is, a string of
bytes expressed in hexadecimal form. |
Methods inherited from class com.sun.management.snmp.SnmpString |
---|
appendToOid, BinToChar, byteValue, clone, duplicate, HexToChar, inetAddressValue, nextOid, toByte, toOid, toOid |
Methods inherited from class com.sun.management.snmp.SnmpValue |
---|
isEndOfMibViewValue, isNoSuchInstanceValue, isNoSuchObjectValue, toAsn1String |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SnmpOpaque(byte[] v)
SnmpOpaque
from the specified bytes array.
v
- The bytes composing the opaque value.public SnmpOpaque(Byte[] v)
SnmpOpaque
with the specified Bytes
array.
v
- The Bytes
composing the opaque value.public SnmpOpaque(String v)
SnmpOpaque
from the specified String
value.
v
- The initialization value.Method Detail |
---|
public String toString()
String
form, that is, a string of
bytes expressed in hexadecimal form.
toString
in class SnmpString
String
representation of the value.public final String getTypeName()
getTypeName
in class SnmpString
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |