| 
 | HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ireasoning.protocol.snmp.SnmpOctetString
com.ireasoning.protocol.snmp.SnmpOpaque
This class represents Snmp Opaque data type.
| Field Summary | 
| Fields inherited from interface com.ireasoning.protocol.snmp.SnmpDataType | 
| BITS, BITSTRING, COUNTER32, COUNTER64, END_OF_MIB_VIEW, END_OF_MIB_VIEW_OBJECT, GAUGE32, INTEGER, IPADDRESS, NO_SUCH_INSTANCE, NO_SUCH_INSTANCE_OBJECT, NO_SUCH_OBJECT, NO_SUCH_OBJECT_OBJECT, NULL, OCTETSTRING, OID, OPAQUE, PDU, SEQUENCE, SEQUENCEOF, serialVersionUID, TIMETICKS, UNSIGNED32, VARBIND | 
| Fields inherited from interface com.ireasoning.protocol.Msg | 
| ERROR_TYPE | 
| Constructor Summary | |
| SnmpOpaque()Default constructor | |
| SnmpOpaque(byte[] data)Constructs an opaque object with the passed data. | |
| SnmpOpaque(SnmpOpaque o)Makes a copy of passed in SnmpOpaque object | |
| SnmpOpaque(String str)Constructs an opaque object with the passed data. | |
| Method Summary | |
|  SnmpDataType | copy()Makes a copy of itself | 
|  int | encode(com.ireasoning.protocol.snmp.SnmpEncoder encoder)For internal use | 
|  int | getType()Returns SnmpDataType.OPAQUE | 
|  String | getTypeString()Returns "Opaque" | 
|  String | toString()Returns a String representation of this object. | 
| Methods inherited from class com.ireasoning.protocol.snmp.SnmpOctetString | 
| convertPhysAddress, equals, getBytes, getLength, getValue, hashCode, setValue, toHexString, toPrintableString, toString, toString2 | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public SnmpOpaque()
public SnmpOpaque(byte[] data)
public SnmpOpaque(SnmpOpaque o)
public SnmpOpaque(String str)
| Method Detail | 
public int getType()
getType in interface SnmpDataTypegetType in class SnmpOctetStringpublic String getTypeString()
getTypeString in interface SnmpDataTypegetTypeString in class SnmpOctetStringpublic String toString()
SnmpOctetStringtoHexString() method.
toString in class SnmpOctetStringpublic SnmpDataType copy()
SnmpDataType
copy in interface SnmpDataTypecopy in class SnmpOctetString
public int encode(com.ireasoning.protocol.snmp.SnmpEncoder encoder)
           throws SnmpEncodingException
SnmpDataType
encode in interface SnmpDataTypeencode in class SnmpOctetStringSnmpEncodingException| 
 | HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||