Package uk.co.westhawk.snmp.stack
Interface SnmpConstants
- All Known Implementing Classes:
AsnInteger
,AsnNull
,AsnObject
,AsnObjectId
,AsnOctets
,AsnPrimitive
,AsnUnsInteger
,AsnUnsInteger64
public interface SnmpConstants
This interface contains most of the constants used in the stack.
- Version:
- $Revision: 3.10 $ $Date: 2006/03/23 14:54:10 $
- Author:
- Birgit Arkesteijn
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
The GetRequest PDU type.static final byte
The GetReport PDU type.static final byte
The Response PDU type.static final byte
The GetBulkRequest PDU type.static final byte
The GetNextRequest PDU type.static final byte
The InformRequest PDU type.static final byte
static final byte
IPv4 address onlystatic final byte
static final byte
static final byte
static final byte
an unsigned 32-bit quantity (see RFC 1902, is obsoleted by SNMPv2-SMI).static final byte
static final byte
The SetRequest PDU type.static final byte
an unsigned 32-bit quantity.static final byte
Users is has no access privileges.static final byte
The object does not manifest a type, length, and value that is consistent with that required for the variable.static final byte
Any of the assignments failed and all other assignments were undone.static final byte
A general decoding exception occured whilst decoding the response.static final byte
A specific decoding exception occured whilst decoding the response.static final byte
A specific decoding exception occured whilst decoding the response.static final byte
The value of an object cannot be retrieved for reasons not covered by any of other errors.static final byte
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 final byte
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 final byte
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 final byte
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 final byte
No error in the PDU response.static final byte
The object is not available or the object's name does not exactly match.static final byte
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 final byte
The object can not be set, only read.static final byte
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 final byte
The size of the generated response PDU would exceed a local limitation.static final byte
Any of the assignments failed and all other assignments were undone, but is was not possible to undo all the assignments.static final byte
Otherwise, if the variable binding's value field contains an ASN.1 encoding which is inconsistent with that field's ASN.1 tag.static final byte
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 final byte
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 final byte
The variable binding's value field specifies a value which could under no circumstances be assigned to the variable.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Value for theGenericTrap
field in SNMPv1 Trap.static final byte
Indicated an attempt to reference an object identifier that is beyond the end of the MIB at the agent.static final byte
Indicated that this object does not exists for this operation.static final byte
Indicated the agent does not implement the object referred to by this object identifier.static final byte
The version number for SNMPv1.static final byte
The version number for SNMPv2c.static final byte
The version number for SNMPv3.static final byte
static final byte
static final byte
The SNMPv1 Trap PDU type.static final byte
The SNMPv2 (and SNMPv3) Trap PDU type.static final String
-
Field Details
-
version_id
- See Also:
-
ASN_BOOLEAN
static final byte ASN_BOOLEAN- See Also:
-
ASN_INTEGER
static final byte ASN_INTEGER- See Also:
-
ASN_BIT_STR
static final byte ASN_BIT_STR- See Also:
-
ASN_OCTET_STR
static final byte ASN_OCTET_STR- See Also:
-
ASN_NULL
static final byte ASN_NULL- See Also:
-
ASN_OBJECT_ID
static final byte ASN_OBJECT_ID- See Also:
-
ASN_SEQUENCE
static final byte ASN_SEQUENCE- See Also:
-
ASN_SET
static final byte ASN_SET- See Also:
-
ASN_UNIVERSAL
static final byte ASN_UNIVERSAL- See Also:
-
ASN_APPLICATION
static final byte ASN_APPLICATION- See Also:
-
ASN_CONTEXT
static final byte ASN_CONTEXT- See Also:
-
ASN_PRIVATE
static final byte ASN_PRIVATE- See Also:
-
ASN_PRIMITIVE
static final byte ASN_PRIMITIVE- See Also:
-
ASN_CONSTRUCTOR
static final byte ASN_CONSTRUCTOR- See Also:
-
ASN_LONG_LEN
static final byte ASN_LONG_LEN- See Also:
-
ASN_EXTENSION_ID
static final byte ASN_EXTENSION_ID- See Also:
-
ASN_BIT8
static final byte ASN_BIT8- See Also:
-
INTEGER
static final byte INTEGER- See Also:
-
STRING
static final byte STRING- See Also:
-
OBJID
static final byte OBJID- See Also:
-
NULLOBJ
static final byte NULLOBJ- See Also:
-
IPADDRESS
static final byte IPADDRESSIPv4 address only- See Also:
-
COUNTER
static final byte COUNTER- See Also:
-
GAUGE
static final byte GAUGE- See Also:
-
TIMETICKS
static final byte TIMETICKS- See Also:
-
OPAQUE
static final byte OPAQUE- See Also:
-
COUNTER64
static final byte COUNTER64- See Also:
-
NSAP_ADDRESS
static final byte NSAP_ADDRESS- See Also:
-
OBSOLETED_RFC1442_UINTEGER32
static final byte OBSOLETED_RFC1442_UINTEGER32an unsigned 32-bit quantity (see RFC 1902, is obsoleted by SNMPv2-SMI).Was called UINTEGER32. Renamed it in version 4_13.
- See Also:
-
SMI_V2_UINTEGER32
static final byte SMI_V2_UINTEGER32an unsigned 32-bit quantity. This equals GAUGE. (see SNMPv2-SMI).- See Also:
-
SNMP_TRAP_COLDSTART
static final byte SNMP_TRAP_COLDSTARTValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_TRAP_WARMSTART
static final byte SNMP_TRAP_WARMSTARTValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_TRAP_LINKDOWN
static final byte SNMP_TRAP_LINKDOWNValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_TRAP_LINKUP
static final byte SNMP_TRAP_LINKUPValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_TRAP_AUTHFAIL
static final byte SNMP_TRAP_AUTHFAILValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_TRAP_EGPNEIGHBORLOSS
static final byte SNMP_TRAP_EGPNEIGHBORLOSSValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_TRAP_ENTERPRISESPECIFIC
static final byte SNMP_TRAP_ENTERPRISESPECIFICValue for theGenericTrap
field in SNMPv1 Trap.- See Also:
-
SNMP_VAR_NOSUCHOBJECT
static final byte SNMP_VAR_NOSUCHOBJECTIndicated the agent does not implement the object referred to by this object identifier. Used in varbind list in response to SNMPv2c, SNMPv3 getRequest.- See Also:
-
SNMP_VAR_NOSUCHINSTANCE
static final byte SNMP_VAR_NOSUCHINSTANCEIndicated that this object does not exists for this operation. Used in varbind list in response to SNMPv2c, SNMPv3 getRequest.- See Also:
-
SNMP_VAR_ENDOFMIBVIEW
static final byte SNMP_VAR_ENDOFMIBVIEWIndicated an attempt to reference an object identifier that is beyond the end of the MIB at the agent. Used in varbind list in response to SNMPv2c, SNMPv3 getRequest or getBulkRequest.- See Also:
-
SNMP_ERR_NOERROR
static final byte SNMP_ERR_NOERRORNo error in the PDU response. Used in SNMPv1, SNMPv2c, SNMPv3.- See Also:
-
SNMP_ERR_TOOBIG
static final byte SNMP_ERR_TOOBIGThe size of the generated response PDU would exceed a local limitation. Used in SNMPv1, SNMPv2c, SNMPv3.- See Also:
-
SNMP_ERR_NOSUCHNAME
static final byte SNMP_ERR_NOSUCHNAMEThe object is not available or the object's name does not exactly match. Only used in SNMPv1.- See Also:
-
SNMP_ERR_BADVALUE
static final byte SNMP_ERR_BADVALUEThe object does not manifest a type, length, and value that is consistent with that required for the variable. Only used in response to SNMPv1 SetRequest.- See Also:
-
SNMP_ERR_READONLY
static final byte SNMP_ERR_READONLYThe object can not be set, only read. Only used in response to SNMPv1 SetRequest.- See Also:
-
SNMP_ERR_GENERR
static final byte SNMP_ERR_GENERRThe value of an object cannot be retrieved for reasons not covered by any of other errors. Used in SNMPv1, SNMPv2c, SNMPv3.- See Also:
-
SNMP_ERR_NOACCESS
static final byte SNMP_ERR_NOACCESSThe 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. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_WRONGTYPE
static final byte SNMP_ERR_WRONGTYPEThe 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. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_WRONGLENGTH
static final byte SNMP_ERR_WRONGLENGTHThe 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. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_WRONGENCODING
static final byte SNMP_ERR_WRONGENCODINGOtherwise, if the variable binding's value field contains an ASN.1 encoding which is inconsistent with that field's ASN.1 tag. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_WRONGVALUE
static final byte SNMP_ERR_WRONGVALUEThe variable binding's value field specifies a value which could under no circumstances be assigned to the variable. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_NOCREATION
static final byte SNMP_ERR_NOCREATIONThe 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). Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_INCONSISTENTVALUE
static final byte SNMP_ERR_INCONSISTENTVALUEThe 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. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_RESOURCEUNAVAILABLE
static final byte SNMP_ERR_RESOURCEUNAVAILABLEThe 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. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_COMMITFAILED
static final byte SNMP_ERR_COMMITFAILEDAny of the assignments failed and all other assignments were undone. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_UNDOFAILED
static final byte SNMP_ERR_UNDOFAILEDAny of the assignments failed and all other assignments were undone, but is was not possible to undo all the assignments. Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_AUTHORIZATIONERR
static final byte SNMP_ERR_AUTHORIZATIONERRUsers is has no access privileges. Used in SNMPv2c, SNMPv3.- See Also:
-
SNMP_ERR_NOTWRITABLE
static final 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.
- The variable binding's name specifies a variable which exists but can not be modified no matter what new value is specified.
- See Also:
-
SNMP_ERR_INCONSISTENTNAME
static final byte SNMP_ERR_INCONSISTENTNAMEThe 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). Used in response to SNMPv2c, SNMPv3 SetRequest.- See Also:
-
SNMP_ERR_DECODING_EXC
static final byte SNMP_ERR_DECODING_EXCA general decoding exception occured whilst decoding the response.- See Also:
-
SNMP_ERR_DECODINGASN_EXC
static final byte SNMP_ERR_DECODINGASN_EXCA specific decoding exception occured whilst decoding the response. The response PDU being decoded has a sub length wrong (not overall length necessarily), so the asn sequence can't get created.- See Also:
-
SNMP_ERR_DECODINGPKTLNGTH_EXC
static final byte SNMP_ERR_DECODINGPKTLNGTH_EXCA specific decoding exception occured whilst decoding the response. The received overall response PDU is shorter than the PDU header says it is.- See Also:
-
SNMP_VERSION_1
static final byte SNMP_VERSION_1The version number for SNMPv1.- See Also:
-
SNMP_VERSION_2c
static final byte SNMP_VERSION_2cThe version number for SNMPv2c.- See Also:
-
SNMP_VERSION_3
static final byte SNMP_VERSION_3The version number for SNMPv3.- See Also:
-
GET_REQ_MSG
static final byte GET_REQ_MSGThe GetRequest PDU type.- See Also:
-
GETNEXT_REQ_MSG
static final byte GETNEXT_REQ_MSGThe GetNextRequest PDU type.- See Also:
-
GET_RSP_MSG
static final byte GET_RSP_MSGThe Response PDU type.- See Also:
-
SET_REQ_MSG
static final byte SET_REQ_MSGThe SetRequest PDU type.- See Also:
-
TRP_REQ_MSG
static final byte TRP_REQ_MSGThe SNMPv1 Trap PDU type.- See Also:
-
GETBULK_REQ_MSG
static final byte GETBULK_REQ_MSGThe GetBulkRequest PDU type.- See Also:
-
INFORM_REQ_MSG
static final byte INFORM_REQ_MSGThe InformRequest PDU type.- See Also:
-
TRPV2_REQ_MSG
static final byte TRPV2_REQ_MSGThe SNMPv2 (and SNMPv3) Trap PDU type.- See Also:
-
GET_RPRT_MSG
static final byte GET_RPRT_MSGThe GetReport PDU type.- See Also:
-
CONS_SEQ
static final byte CONS_SEQ- See Also:
-