|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that contains SNMP constants related to command and response codes. All members are static and can be used by any application.
Field Summary | |
static int |
CtxtConsFlag
ASN.1 prefix for encoding PDU types. |
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 a 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 |
pduTrapPdu
Represents a Trap PDU type (V1 or V2). |
static int |
pduV2TrapPdu
Represents a V2Trap PDU type (V2 only). |
static int |
pduWalkRequest
Represents a Walk request. |
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: genError . |
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 byte |
snmpVersionOne
Represents the SNMP protocol version: SnmpV1. |
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 |
public static final int CtxtConsFlag
public static final byte snmpVersionOne
public static final byte snmpVersionTwo
public static final int pduGetRequestPdu
GetRequest
PDU type (V1 or V2).public static final int pduGetNextRequestPdu
GetNextRequest
PDU type (V1 or V2).public static final int pduGetResponsePdu
GetResponse
PDU type (V1 or V2).public static final int pduSetRequestPdu
SetRequest
PDU type (V1 or V2).public static final int pduTrapPdu
Trap
PDU type (V1 or V2).public static final int pduGetBulkRequestPdu
GetBulkRequest
PDU type (V2 only).public static final int pduInformRequestPdu
InformRequest
PDU type (V2 only).public static final int pduV2TrapPdu
V2Trap
PDU type (V2 only).public static final int pduReportPdu
Report
PDU type (V2 only).public static final int pduWalkRequest
Walk
request. A walk uses the getNext
request to "walk" through a
given MIB.public static final int trapColdStart
coldStart
.public static final int trapWarmStart
warmStart
.public static final int trapLinkDown
linkDown
.public static final int trapLinkUp
linkUp
.public static final int trapAuthenticationFailure
authenticationFailure
.public static final int trapEgpNeighborLoss
egpNeighborLoss
.public static final int trapEnterpriseSpecific
enterpriseSpecific
.public static final int snmpRspNoError
noError
.public static final int snmpRspTooBig
tooBig
.public static final int snmpRspNoSuchName
noSuchName
.public static final int snmpRspBadValue
badValue
.public static final int snmpRspReadOnly
readOnly
.public static final int snmpRspGenErr
genError
.public static final int snmpRspNoAccess
noAccess
.public static final int snmpRspWrongType
wrongType
.public static final int snmpRspWrongLength
wrongLength
.public static final int snmpRspWrongEncoding
wrongEncoding
.public static final int snmpRspWrongValue
wrongValue
.public static final int snmpRspNoCreation
noCreation
.public static final int snmpRspInconsistentValue
inconsistentValue
.public static final int snmpRspResourceUnavailable
resourceUnavailable
.public static final int snmpRspCommitFailed
commitFailed
.public static final int snmpRspUndoFailed
undoFailed
.public static final int snmpRspAuthorizationError
authorizationError
.public static final int snmpRspNotWritable
notWritable
.public static final int snmpRspInconsistentName
inconsistentName
.public static final int snmpReqTimeout
Used if the request PDU exceeds the maxRetries
limit
defined in the SnmpPeer object.
public static final int snmpReqAborted
Used if the pending request PDU is cancelled.
public static final int snmpRspDecodingError
Used if the response to the request PDU fails at decoding time.
A voir: SnmpRequest::processResponse ne throws jamais SnmpStatusException ??
public static final int snmpReqEncodingError
Used if the request PDU does not retreive the community string at authentication encoding time.
public static final int snmpReqPacketOverflow
Used if the request PDU does not fit in the maxSnmpPktSize
limit
defined in the SnmpPeer object.
public static final int snmpRspEndOfTable
Used for the last variable returned by a Walk
request PDU.
public static final int snmpReqRefireAfterVbFix
Used if the request PDU is retried after a noSuchName
error fixed.
This is an internal temporary status...
hide ??
public static final int snmpReqHandleTooBig
Used if the size of the request PDU varBindList
exceeds
the maxVarbindLimit
limit defined in the
SnmpPeer object.
public static final int snmpReqTooBigImpossible
Used if the request PDU fails with a tooBig
error status
but its varBindList
contains just one element.
public static final int snmpReqInternalError
Used if an internal error occurs when processing the request PDU.
public static final int snmpReqSocketIOError
Used if an I/O error occurs when sending the request PDU.
public 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.
public static final int snmpWrongSnmpVersion
Not used ???
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |