com.caucho.server.snmp.types
Class OctetStringValue

java.lang.Object
  extended by com.caucho.server.snmp.types.SnmpValue
      extended by com.caucho.server.snmp.types.OctetStringValue
Direct Known Subclasses:
IpAddressValue, OpaqueValue

public class OctetStringValue
extends SnmpValue


Field Summary
static OctetStringValue PUBLIC
           
 
Fields inherited from class com.caucho.server.snmp.types.SnmpValue
COUNTER, EOC, GAUGE, GET_NEXT_REQUEST_PDU, GET_REQUEST_PDU, GET_RESPONSE_PDU, INTEGER, IP_ADDRESS, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OPAQUE, SEQUENCE, SET_REQUEST_PDU, TIME_TICKS, TRAP_PDU
 
Constructor Summary
OctetStringValue(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getString()
           
 int getType()
           
 void toAsn1(java.lang.StringBuilder sb)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.server.snmp.types.SnmpValue
create, create, create, getLong, header, toAsn1, typeName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PUBLIC

public static final OctetStringValue PUBLIC
Constructor Detail

OctetStringValue

public OctetStringValue(java.lang.String value)
Method Detail

getType

public int getType()
Specified by:
getType in class SnmpValue

toAsn1

public void toAsn1(java.lang.StringBuilder sb)
Specified by:
toAsn1 in class SnmpValue

getString

public java.lang.String getString()
Overrides:
getString in class SnmpValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object