|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpDataType
This class is the interface which all SNMP data type classes should implement.
Field Summary | |
---|---|
static int |
BITS
Snmp BITS data type, which is the same as OCTETSTRING |
static int |
BITSTRING
Snmp BIT STRING data type |
static int |
COUNTER32
Snmp 32-bit counter data type |
static int |
COUNTER64
Snmp 64-bit counter data type |
static int |
END_OF_MIB_VIEW
Snmp EndOfMibView data type |
static SnmpDataType |
END_OF_MIB_VIEW_OBJECT
Snmp EndOfMibView data type object |
static int |
EXPRESSION
|
static int |
GAUGE32
Snmp 32-bit gauge data type |
static int |
INTEGER
Snmp Integer data type |
static int |
IPADDRESS
Snmp ip address data type |
static int |
NO_SUCH_INSTANCE
Snmp NoSuchInstance data type |
static SnmpDataType |
NO_SUCH_INSTANCE_OBJECT
Snmp NoSuchInstance data type object |
static int |
NO_SUCH_OBJECT
Snmp NoSuchObject data type |
static SnmpDataType |
NO_SUCH_OBJECT_OBJECT
Snmp NoSuchObject data type object |
static int |
NULL
Snmp null data type |
static int |
OCTETSTRING
Snmp octet string data type |
static int |
OID
Snmp object identifier data type |
static int |
OPAQUE
Snmp opaque data type |
static int |
PDU
SNMP PDU data type |
static int |
SEQUENCE
|
static int |
SEQUENCEOF
|
static long |
serialVersionUID
|
static int |
TIMETICKS
Snmp time ticks data type |
static int |
UNSIGNED32
Snmp unsigned 32-bit integer data type |
static int |
VARBIND
Snmp variable binding data type |
Fields inherited from interface com.ireasoning.protocol.Msg |
---|
ERROR_TYPE |
Method Summary | |
---|---|
SnmpDataType |
copy()
Makes a copy of itself |
int |
encode(com.ireasoning.protocol.snmp.SnmpEncoder encoder)
For internal use |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
getType()
Returns the object data type, such as SnmpDataType.INTEGER, SnmpDataType.OCTETSTRING, etc. |
java.lang.String |
getTypeString()
Returns the string format of this data type |
int |
hashCode()
Returns a hash code value for the object |
Field Detail |
---|
static final long serialVersionUID
static final int INTEGER
static final int BITSTRING
static final int OCTETSTRING
static final int BITS
static final int NULL
static final int OID
static final int IPADDRESS
static final int COUNTER32
static final int GAUGE32
static final int UNSIGNED32
static final int TIMETICKS
static final int OPAQUE
static final int COUNTER64
static final int EXPRESSION
static final int PDU
static final int NO_SUCH_OBJECT
static final SnmpDataType NO_SUCH_OBJECT_OBJECT
static final int NO_SUCH_INSTANCE
static final SnmpDataType NO_SUCH_INSTANCE_OBJECT
static final int END_OF_MIB_VIEW
static final SnmpDataType END_OF_MIB_VIEW_OBJECT
static final int SEQUENCE
static final int SEQUENCEOF
static final int VARBIND
Method Detail |
---|
SnmpDataType copy()
int getType()
getType
in interface Msg
java.lang.String getTypeString()
int encode(com.ireasoning.protocol.snmp.SnmpEncoder encoder) throws SnmpEncodingException
SnmpEncodingException
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |