|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpDefinitions
Contains SNMP constants related to command and response codes. All members are static and can be used by any application.
Field Summary | |
---|---|
static int |
authMask
Mask used to isolate authentication information within a message flag. |
static int |
authNoPriv
Security level. |
static int |
authPriv
Security level. |
static int |
authPrivMask
Mask used to isolate authentication and privacy information within a message flag. |
static int |
CtxtConsFlag
ASN.1 prefix for encoding PDU types. |
static int |
noAuthNoPriv
Security level. |
static int |
noGroupName
Error that is returned by VACM. |
static int |
noSuchContext
Error that is returned by VACM. |
static int |
noSuchView
Error that is returned by VACM. |
static int |
notInView
Error that is returned by VACM. |
static int |
pduGetBulkRequestPdu
Represents a GetBulkRequest PDU type (V2 only). |
static int |
pduGetNextRequestPdu
Represents a GetNextRequest PDU type (V1 or V2). |
static int |
pduGetRequestPdu
Represents a GetRequest PDU type (V1 or V2). |
static int |
pduGetResponsePdu
Represents a GetResponse PDU type (V1 or V2). |
static int |
pduInformRequestPdu
Represents an InformRequest PDU type (V2 only). |
static int |
pduReportPdu
Represents a Report PDU type (V2 only). |
static int |
pduSetRequestPdu
Represents a SetRequest PDU type (V1 or V2). |
static int |
pduV1TrapPdu
Represents a V1Trap PDU type (V1 only). |
static int |
pduV2TrapPdu
Represents a V2Trap PDU type (V2 only). |
static int |
pduWalkRequest
Represents a Walk request. |
static int |
privMask
Mask used to isolate privacy information within a message flag. |
static int |
reportableFlag
Flag that indicates that a report is to be sent. |
static int |
snmpAuthNotSupported
SNMP V3 Error code specific to the API. |
static int |
snmpBadSecurityLevel
SNMP V3 Error code specific to the API. |
static int |
snmpPrivNotSupported
SNMP V3 Error code specific to the API. |
static int |
snmpReqAborted
Error code specific to the API. |
static int |
snmpReqEncodingError
Error code specific to the API. |
static int |
snmpReqHandleTooBig
Error code specific to the API. |
static int |
snmpReqInternalError
Error code specific to the API. |
static int |
snmpReqPacketOverflow
Error code specific to the API. |
static int |
snmpReqRefireAfterVbFix
Error code specific to the API. |
static int |
snmpReqSocketIOError
Error code specific to the API. |
static int |
snmpReqTimeout
Error code specific to the API. |
static int |
snmpReqTooBigImpossible
Error code specific to the API. |
static int |
snmpReqUnknownError
Error code specific to the API. |
static int |
snmpRspAuthorizationError
Error code as defined in RFC 1448 for: authorizationError . |
static int |
snmpRspBadValue
Error code as defined in RFC 1448 for: badValue . |
static int |
snmpRspCommitFailed
Error code as defined in RFC 1448 for: commitFailed . |
static int |
snmpRspDecodingError
Error code specific to the API. |
static int |
snmpRspEndOfTable
Error code specific to the API. |
static int |
snmpRspGenErr
Error code as defined in RFC 1448 for: genErr . |
static int |
snmpRspInconsistentName
Error code as defined in RFC 1448 for: inconsistentName . |
static int |
snmpRspInconsistentValue
Error code as defined in RFC 1448 for: inconsistentValue . |
static int |
snmpRspNoAccess
Error code as defined in RFC 1448 for: noAccess . |
static int |
snmpRspNoCreation
Error code as defined in RFC 1448 for: noCreation . |
static int |
snmpRspNoError
Error code as defined in RFC 1448 for: noError . |
static int |
snmpRspNoSuchName
Error code as defined in RFC 1448 for: noSuchName . |
static int |
snmpRspNotWritable
Error code as defined in RFC 1448 for: notWritable . |
static int |
snmpRspReadOnly
Error code as defined in RFC 1448 for: readOnly . |
static int |
snmpRspResourceUnavailable
Error code as defined in RFC 1448 for: resourceUnavailable . |
static int |
snmpRspTooBig
Error code as defined in RFC 1448 for: tooBig . |
static int |
snmpRspUndoFailed
Error code as defined in RFC 1448 for: undoFailed . |
static int |
snmpRspWrongEncoding
Error code as defined in RFC 1448 for: wrongEncoding . |
static int |
snmpRspWrongLength
Error code as defined in RFC 1448 for: wrongLength . |
static int |
snmpRspWrongType
Error code as defined in RFC 1448 for: wrongType . |
static int |
snmpRspWrongValue
Error code as defined in RFC 1448 for: wrongValue . |
static int |
snmpUnknownPrincipal
SNMP V3 Error code specific to the API. |
static int |
snmpUsmBadEngineId
SNMP Usm V3 Error code specific to the API. |
static int |
snmpUsmInvalidTimeliness
SNMP Usm V3 Error code specific to the API. |
static int |
snmpUsmSecurityModel
Snmp V3 security model id (3). |
static int |
snmpV1AccessControlModel
Snmp V1 access control model id (0). |
static int |
snmpV1MsgProcessingModel
Snmp V1 msg processing model id (0). |
static int |
snmpV1SecurityModel
Snmp V1 security model id (1). |
static int |
snmpV2AccessControlModel
Snmp V2 access control model id (1). |
static int |
snmpV2MsgProcessingModel
Snmp V2 msg processing model id (1). |
static int |
snmpV2SecurityModel
Snmp V2 security model id (2). |
static int |
snmpV3AccessControlModel
Snmp V3 access control model id (3). |
static int |
snmpV3MsgProcessingModel
Snmp V3 msg processing model id (3). |
static byte |
snmpVersionOne
Represents the SNMP protocol version: SnmpV1 . |
static byte |
snmpVersionThree
Represents the SNMP protocol version: SnmpV3 . |
static byte |
snmpVersionTwo
Represents the SNMP protocol version: SnmpV2 . |
static int |
snmpWrongSnmpVersion
Error code specific to the API. |
static int |
trapAuthenticationFailure
Code as defined in RFC 1157 for generic trap info in Trap-PDU: authenticationFailure . |
static int |
trapColdStart
Code as defined in RFC 1157 for generic trap info in Trap-PDU: coldStart . |
static int |
trapEgpNeighborLoss
Code as defined in RFC 1157 for generic trap info in Trap-PDU: egpNeighborLoss . |
static int |
trapEnterpriseSpecific
Code as defined in RFC 1157 for generic trap info in Trap-PDU: enterpriseSpecific . |
static int |
trapLinkDown
Code as defined in RFC 1157 for generic trap info in Trap-PDU: linkDown . |
static int |
trapLinkUp
Code as defined in RFC 1157 for generic trap info in Trap-PDU: linkUp . |
static int |
trapWarmStart
Code as defined in RFC 1157 for generic trap info in Trap-PDU: warmStart . |
Field Detail |
---|
static final int noAuthNoPriv
static final int authNoPriv
static final int authPriv
static final int reportableFlag
static final int authMask
static final int privMask
static final int authPrivMask
static final int CtxtConsFlag
static final byte snmpVersionOne
SnmpV1
.
static final byte snmpVersionTwo
SnmpV2
.
static final byte snmpVersionThree
SnmpV3
.
static final int pduGetRequestPdu
GetRequest
PDU type (V1 or V2).
static final int pduGetNextRequestPdu
GetNextRequest
PDU type (V1 or V2).
static final int pduGetResponsePdu
GetResponse
PDU type (V1 or V2).
static final int pduSetRequestPdu
SetRequest
PDU type (V1 or V2).
static final int pduGetBulkRequestPdu
GetBulkRequest
PDU type (V2 only).
static final int pduWalkRequest
Walk
request.
A walk uses the getNext
request to "walk" through a given MIB.
static final int pduV1TrapPdu
V1Trap
PDU type (V1 only).
static final int pduV2TrapPdu
V2Trap
PDU type (V2 only).
static final int pduInformRequestPdu
InformRequest
PDU type (V2 only).
static final int pduReportPdu
Report
PDU type (V2 only).
static final int trapColdStart
coldStart
.
static final int trapWarmStart
warmStart
.
static final int trapLinkDown
linkDown
.
static final int trapLinkUp
linkUp
.
static final int trapAuthenticationFailure
authenticationFailure
.
static final int trapEgpNeighborLoss
egpNeighborLoss
.
static final int trapEnterpriseSpecific
enterpriseSpecific
.
static final int snmpRspNoError
noError
.
static final int snmpRspTooBig
tooBig
.
static final int snmpRspNoSuchName
noSuchName
.
static final int snmpRspBadValue
badValue
.
static final int snmpRspReadOnly
readOnly
.
static final int snmpRspGenErr
genErr
.
static final int snmpRspNoAccess
noAccess
.
static final int snmpRspWrongType
wrongType
.
static final int snmpRspWrongLength
wrongLength
.
static final int snmpRspWrongEncoding
wrongEncoding
.
static final int snmpRspWrongValue
wrongValue
.
static final int snmpRspNoCreation
noCreation
.
static final int snmpRspInconsistentValue
inconsistentValue
.
static final int snmpRspResourceUnavailable
resourceUnavailable
.
static final int snmpRspCommitFailed
commitFailed
.
static final int snmpRspUndoFailed
undoFailed
.
static final int snmpRspAuthorizationError
authorizationError
.
static final int snmpRspNotWritable
notWritable
.
static final int snmpRspInconsistentName
inconsistentName
.
static final int noSuchView
static final int noSuchContext
static final int noGroupName
static final int notInView
static final int snmpReqTimeout
Used if the request PDU exceeds the maxTries
limit
defined in the SnmpPeer
object.
static final int snmpReqAborted
Used if the pending request PDU is canceled.
static final int snmpRspDecodingError
Used if the response to the request PDU fails at decoding time.
static final int snmpReqEncodingError
Used if the request PDU does not retrieve the community string at authentication encoding time.
static final int snmpReqPacketOverflow
Used if the request PDU does not fit in the maxSnmpPktSize
limit
defined in the SnmpPeer
object.
static final int snmpRspEndOfTable
Used for the last variable returned by a Walk
request PDU.
static final int snmpReqRefireAfterVbFix
Used if the request PDU is retried after a noSuchName
error fixed.
This is an internal temporary status.
static final int snmpReqHandleTooBig
Used if the size of the request PDU varBindList
exceeds
the maxVarBindLimit
limit defined in the
SnmpPeer
object.
static final int snmpReqTooBigImpossible
Used if the request PDU fails with a tooBig
error status
but its varBindList
contains just one element.
static final int snmpReqInternalError
Used if an internal error occurs when processing the request PDU.
static final int snmpReqSocketIOError
Used if an I/O error occurs when sending the request PDU.
static final int snmpReqUnknownError
Used if the request PDU fails at encoding time or sending time for a reason not covered by the previous error codes.
static final int snmpWrongSnmpVersion
static final int snmpUnknownPrincipal
Used if the used principal is unknown.
static final int snmpAuthNotSupported
Used if authentication is not supported for the current user.
static final int snmpPrivNotSupported
Used if privacy is not supported for the current user.
static final int snmpBadSecurityLevel
Used if privacy is not supported for the current user.
static final int snmpUsmBadEngineId
Used if the authoritative engine Id is not associated to the current user.
static final int snmpUsmInvalidTimeliness
Used if the timeliness params are invalid.
static final int snmpV1SecurityModel
static final int snmpV2SecurityModel
static final int snmpUsmSecurityModel
static final int snmpV1MsgProcessingModel
static final int snmpV2MsgProcessingModel
static final int snmpV3MsgProcessingModel
static final int snmpV1AccessControlModel
static final int snmpV2AccessControlModel
static final int snmpV3AccessControlModel
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |