com.caucho.server.snmp.types
Class SnmpValue
java.lang.Object
com.caucho.server.snmp.types.SnmpValue
- Direct Known Subclasses:
- IntegerValue, NullValue, ObjectIdentifierValue, OctetStringValue, PduValue, SequenceValue, SnmpMessageValue, UnsignedIntegerValue
public abstract class SnmpValue
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOC
public static final int EOC
- See Also:
- Constant Field Values
INTEGER
public static final int INTEGER
- See Also:
- Constant Field Values
OCTET_STRING
public static final int OCTET_STRING
- See Also:
- Constant Field Values
NULL
public static final int NULL
- See Also:
- Constant Field Values
OBJECT_IDENTIFIER
public static final int OBJECT_IDENTIFIER
- See Also:
- Constant Field Values
SEQUENCE
public static final int SEQUENCE
- See Also:
- Constant Field Values
IP_ADDRESS
public static final int IP_ADDRESS
- See Also:
- Constant Field Values
COUNTER
public static final int COUNTER
- See Also:
- Constant Field Values
GAUGE
public static final int GAUGE
- See Also:
- Constant Field Values
TIME_TICKS
public static final int TIME_TICKS
- See Also:
- Constant Field Values
OPAQUE
public static final int OPAQUE
- See Also:
- Constant Field Values
GET_REQUEST_PDU
public static final int GET_REQUEST_PDU
- See Also:
- Constant Field Values
GET_NEXT_REQUEST_PDU
public static final int GET_NEXT_REQUEST_PDU
- See Also:
- Constant Field Values
GET_RESPONSE_PDU
public static final int GET_RESPONSE_PDU
- See Also:
- Constant Field Values
SET_REQUEST_PDU
public static final int SET_REQUEST_PDU
- See Also:
- Constant Field Values
TRAP_PDU
public static final int TRAP_PDU
- See Also:
- Constant Field Values
SnmpValue
public SnmpValue()
toAsn1
public abstract void toAsn1(java.lang.StringBuilder sb)
getType
public abstract int getType()
create
public static SnmpValue create(java.lang.Object obj)
create
public static SnmpValue create(java.lang.Object obj,
java.lang.String typeStr)
create
public static SnmpValue create(java.lang.Object obj,
int type)
toAsn1
public final java.lang.String toAsn1()
header
protected final void header(java.lang.StringBuilder sb,
int len)
getLong
public long getLong()
getString
public java.lang.String getString()
typeName
public static java.lang.String typeName(int identifier)