public interface SnmpConstants
Modifier and Type | Field and Description |
---|---|
static byte |
ASN_APPLICATION |
static byte |
ASN_BIT_STR |
static byte |
ASN_BIT8 |
static byte |
ASN_BOOLEAN |
static byte |
ASN_CONSTRUCTOR |
static byte |
ASN_CONTEXT |
static byte |
ASN_EXTENSION_ID |
static byte |
ASN_INTEGER |
static byte |
ASN_LONG_LEN |
static byte |
ASN_NULL |
static byte |
ASN_OBJECT_ID |
static byte |
ASN_OCTET_STR |
static byte |
ASN_PRIMITIVE |
static byte |
ASN_PRIVATE |
static byte |
ASN_SEQUENCE |
static byte |
ASN_SET |
static byte |
ASN_UNIVERSAL |
static byte |
CONS_SEQ |
static byte |
COUNTER |
static byte |
COUNTER64 |
static byte |
GAUGE |
static byte |
GET_REQ_MSG
The GetRequest PDU type.
|
static byte |
GET_RPRT_MSG
The GetReport PDU type.
|
static byte |
GET_RSP_MSG
The Response PDU type.
|
static byte |
GETBULK_REQ_MSG
The GetBulkRequest PDU type.
|
static byte |
GETNEXT_REQ_MSG
The GetNextRequest PDU type.
|
static byte |
INFORM_REQ_MSG
The InformRequest PDU type.
|
static byte |
INTEGER |
static byte |
IPADDRESS
IPv4 address only
|
static byte |
NSAP_ADDRESS
|
static byte |
NULLOBJ |
static byte |
OBJID |
static byte |
OBSOLETED_RFC1442_UINTEGER32
an unsigned 32-bit quantity (see
RFC 1902,
is obsoleted by
SNMPv2-SMI).
|
static byte |
OPAQUE |
static byte |
SET_REQ_MSG
The SetRequest PDU type.
|
static byte |
SMI_V2_UINTEGER32
an unsigned 32-bit quantity.
|
static byte |
SNMP_ERR_AUTHORIZATIONERR
Users is has no access privileges.
|
static byte |
SNMP_ERR_BADVALUE
The object does not manifest a type, length, and value
that is consistent with that required for the variable.
|
static byte |
SNMP_ERR_COMMITFAILED
Any of the assignments failed and all other assignments were
undone.
|
static byte |
SNMP_ERR_DECODING_EXC
A general decoding exception occured whilst decoding the response.
|
static byte |
SNMP_ERR_DECODINGASN_EXC
A specific decoding exception occured whilst decoding the response.
|
static byte |
SNMP_ERR_DECODINGPKTLNGTH_EXC
A specific decoding exception occured whilst decoding the response.
|
static byte |
SNMP_ERR_GENERR
The value of an object cannot be retrieved for reasons
not covered by any of other errors.
|
static byte |
SNMP_ERR_INCONSISTENTNAME
The variable binding's name specifies a variable which does not
exist but can not be created under the present circumstances (even
though it could be created under other circumstances).
|
static byte |
SNMP_ERR_INCONSISTENTVALUE
The variable binding's value field specifies a value that could
under other circumstances be held by the variable, but is presently
inconsistent or otherwise unable to be assigned to the variable.
|
static byte |
SNMP_ERR_NOACCESS
The variable binding's name specifies an existing or
non-existent variable to which this request is/would be denied
access because it is/would not be in the appropriate MIB view.
|
static byte |
SNMP_ERR_NOCREATION
The variable binding's name specifies a variable which does not
exist and could not ever be created (even though some variables
sharing the same OBJECT IDENTIFIER prefix might under some
circumstances be able to be created).
|
static byte |
SNMP_ERR_NOERROR
No error in the PDU response.
|
static byte |
SNMP_ERR_NOSUCHNAME
The object is not available or the object's name does not exactly
match.
|
static byte |
SNMP_ERR_NOTWRITABLE
There are no variables which share the same OBJECT IDENTIFIER
prefix as the variable binding's name, and which are able to be
created or modified no matter what new value is specified.
|
static byte |
SNMP_ERR_READONLY
The object can not be set, only read.
|
static byte |
SNMP_ERR_RESOURCEUNAVAILABLE
The assignment of the value specified by the variable binding's
value field to the specified variable requires the allocation of a
resource which is presently unavailable.
|
static byte |
SNMP_ERR_TOOBIG
The size of the generated response PDU would exceed a local
limitation.
|
static byte |
SNMP_ERR_UNDOFAILED
Any of the assignments failed and all other assignments were
undone, but is was not possible to undo all the assignments.
|
static byte |
SNMP_ERR_WRONGENCODING
Otherwise, if the variable binding's value field contains an ASN.1
encoding which is inconsistent with that field's ASN.1 tag.
|
static byte |
SNMP_ERR_WRONGLENGTH
The variable binding's value field specifies a length which is
inconsistent with that required for all variables which share the
same OBJECT IDENTIFIER prefix as the variable binding's name.
|
static byte |
SNMP_ERR_WRONGTYPE
The variable binding's value field specifies a type which is
inconsistent with that required for all variables which share the
same OBJECT IDENTIFIER prefix as the variable binding's name.
|
static byte |
SNMP_ERR_WRONGVALUE
The variable binding's value field specifies a value which could
under no circumstances be assigned to the variable.
|
static byte |
SNMP_TRAP_AUTHFAIL
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_TRAP_COLDSTART
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_TRAP_EGPNEIGHBORLOSS
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_TRAP_ENTERPRISESPECIFIC
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_TRAP_LINKDOWN
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_TRAP_LINKUP
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_TRAP_WARMSTART
Value for the
GenericTrap field in SNMPv1 Trap. |
static byte |
SNMP_VAR_ENDOFMIBVIEW
Indicated an attempt to reference an object identifier that is
beyond the end of the MIB at the agent.
|
static byte |
SNMP_VAR_NOSUCHINSTANCE
Indicated that this object does not exists for this operation.
|
static byte |
SNMP_VAR_NOSUCHOBJECT
Indicated the agent does not implement the object referred to by
this object identifier.
|
static byte |
SNMP_VERSION_1
The version number for SNMPv1.
|
static byte |
SNMP_VERSION_2c
The version number for SNMPv2c.
|
static byte |
SNMP_VERSION_3
The version number for SNMPv3.
|
static byte |
STRING |
static byte |
TIMETICKS |
static byte |
TRP_REQ_MSG
The SNMPv1 Trap PDU type.
|
static byte |
TRPV2_REQ_MSG
The SNMPv2 (and SNMPv3) Trap PDU type.
|
static java.lang.String |
version_id |
static final java.lang.String version_id
static final byte ASN_BOOLEAN
static final byte ASN_INTEGER
static final byte ASN_BIT_STR
static final byte ASN_OCTET_STR
static final byte ASN_NULL
static final byte ASN_OBJECT_ID
static final byte ASN_SEQUENCE
static final byte ASN_SET
static final byte ASN_UNIVERSAL
static final byte ASN_APPLICATION
static final byte ASN_CONTEXT
static final byte ASN_PRIVATE
static final byte ASN_PRIMITIVE
static final byte ASN_CONSTRUCTOR
static final byte ASN_LONG_LEN
static final byte ASN_EXTENSION_ID
static final byte ASN_BIT8
static final byte INTEGER
static final byte STRING
static final byte OBJID
static final byte NULLOBJ
static final byte IPADDRESS
static final byte COUNTER
static final byte GAUGE
static final byte TIMETICKS
static final byte OPAQUE
static final byte COUNTER64
static final byte NSAP_ADDRESS
static final byte OBSOLETED_RFC1442_UINTEGER32
Was called UINTEGER32. Renamed it in version 4_13.
static final byte SMI_V2_UINTEGER32
static final byte SNMP_TRAP_COLDSTART
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_TRAP_WARMSTART
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_TRAP_LINKDOWN
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_TRAP_LINKUP
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_TRAP_AUTHFAIL
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_TRAP_EGPNEIGHBORLOSS
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_TRAP_ENTERPRISESPECIFIC
GenericTrap
field in SNMPv1 Trap.static final byte SNMP_VAR_NOSUCHOBJECT
static final byte SNMP_VAR_NOSUCHINSTANCE
static final byte SNMP_VAR_ENDOFMIBVIEW
static final byte SNMP_ERR_NOERROR
static final byte SNMP_ERR_TOOBIG
static final byte SNMP_ERR_NOSUCHNAME
static final byte SNMP_ERR_BADVALUE
static final byte SNMP_ERR_READONLY
static final byte SNMP_ERR_GENERR
static final byte SNMP_ERR_NOACCESS
static final byte SNMP_ERR_WRONGTYPE
static final byte SNMP_ERR_WRONGLENGTH
static final byte SNMP_ERR_WRONGENCODING
static final byte SNMP_ERR_WRONGVALUE
static final byte SNMP_ERR_NOCREATION
static final byte SNMP_ERR_INCONSISTENTVALUE
static final byte SNMP_ERR_RESOURCEUNAVAILABLE
static final byte SNMP_ERR_COMMITFAILED
static final byte SNMP_ERR_UNDOFAILED
static final byte SNMP_ERR_AUTHORIZATIONERR
static final byte SNMP_ERR_NOTWRITABLE
static final byte SNMP_ERR_INCONSISTENTNAME
static final byte SNMP_ERR_DECODING_EXC
static final byte SNMP_ERR_DECODINGASN_EXC
static final byte SNMP_ERR_DECODINGPKTLNGTH_EXC
static final byte SNMP_VERSION_1
static final byte SNMP_VERSION_2c
static final byte SNMP_VERSION_3
static final byte GET_REQ_MSG
static final byte GETNEXT_REQ_MSG
static final byte GET_RSP_MSG
static final byte SET_REQ_MSG
static final byte TRP_REQ_MSG
static final byte GETBULK_REQ_MSG
static final byte INFORM_REQ_MSG
static final byte TRPV2_REQ_MSG
static final byte GET_RPRT_MSG
static final byte CONS_SEQ