com.sun.management.snmp
Interface SnmpDefinitions

All Known Subinterfaces:
SnmpInformHandler, SnmpRequestHandler
All Known Implementing Classes:
SnmpAdaptorServer, SnmpInformRequest, SnmpMessage, SnmpMsg, SnmpParameters, SnmpParams, SnmpPdu, SnmpPduBulk, SnmpPduPacket, SnmpPduRequest, SnmpPduTrap, SnmpRequest, SnmpScopedPduBulk, SnmpScopedPduPacket, SnmpScopedPduRequest, SnmpSession, SnmpStatusException, SnmpUsmParameters, SnmpV3AdaptorServer, SnmpV3InformRequest, SnmpV3Message, SnmpV3Parameters

public interface SnmpDefinitions

Contains SNMP constants related to command and response codes. All members are static and can be used by any application.

Since:
Java DMK 5.1

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

noAuthNoPriv

static final int noAuthNoPriv
Security level. No authentication, no privacy. Value is 0, as defined in RFC 2572.

See Also:
Constant Field Values

authNoPriv

static final int authNoPriv
Security level. Authentication, no privacy. Value is 1, as defined in RFC 2572.

See Also:
Constant Field Values

authPriv

static final int authPriv
Security level. Authentication, privacy. Value is 3, as defined in RFC 2572.

See Also:
Constant Field Values

reportableFlag

static final int reportableFlag
Flag that indicates that a report is to be sent. Value is 4, as defined in RFC 2572.

See Also:
Constant Field Values

authMask

static final int authMask
Mask used to isolate authentication information within a message flag.

See Also:
Constant Field Values

privMask

static final int privMask
Mask used to isolate privacy information within a message flag.

See Also:
Constant Field Values

authPrivMask

static final int authPrivMask
Mask used to isolate authentication and privacy information within a message flag.

See Also:
Constant Field Values

CtxtConsFlag

static final int CtxtConsFlag
ASN.1 prefix for encoding PDU types.

See Also:
Constant Field Values

snmpVersionOne

static final byte snmpVersionOne
Represents the SNMP protocol version: SnmpV1.

See Also:
Constant Field Values

snmpVersionTwo

static final byte snmpVersionTwo
Represents the SNMP protocol version: SnmpV2.

See Also:
Constant Field Values

snmpVersionThree

static final byte snmpVersionThree
Represents the SNMP protocol version: SnmpV3.

See Also:
Constant Field Values

pduGetRequestPdu

static final int pduGetRequestPdu
Represents a GetRequest PDU type (V1 or V2).

See Also:
Constant Field Values

pduGetNextRequestPdu

static final int pduGetNextRequestPdu
Represents a GetNextRequest PDU type (V1 or V2).

See Also:
Constant Field Values

pduGetResponsePdu

static final int pduGetResponsePdu
Represents a GetResponse PDU type (V1 or V2).

See Also:
Constant Field Values

pduSetRequestPdu

static final int pduSetRequestPdu
Represents a SetRequest PDU type (V1 or V2).

See Also:
Constant Field Values

pduGetBulkRequestPdu

static final int pduGetBulkRequestPdu
Represents a GetBulkRequest PDU type (V2 only).

See Also:
Constant Field Values

pduWalkRequest

static final int pduWalkRequest
Represents a Walk request. A walk uses the getNext request to "walk" through a given MIB.

See Also:
Constant Field Values

pduV1TrapPdu

static final int pduV1TrapPdu
Represents a V1Trap PDU type (V1 only).

See Also:
Constant Field Values

pduV2TrapPdu

static final int pduV2TrapPdu
Represents a V2Trap PDU type (V2 only).

See Also:
Constant Field Values

pduInformRequestPdu

static final int pduInformRequestPdu
Represents an InformRequest PDU type (V2 only).

See Also:
Constant Field Values

pduReportPdu

static final int pduReportPdu
Represents a Report PDU type (V2 only).

See Also:
Constant Field Values

trapColdStart

static final int trapColdStart
Code as defined in RFC 1157 for generic trap info in Trap-PDU: coldStart.

See Also:
Constant Field Values

trapWarmStart

static final int trapWarmStart
Code as defined in RFC 1157 for generic trap info in Trap-PDU: warmStart.

See Also:
Constant Field Values

trapLinkDown

static final int trapLinkDown
Code as defined in RFC 1157 for generic trap info in Trap-PDU: linkDown.

See Also:
Constant Field Values

trapLinkUp

static final int trapLinkUp
Code as defined in RFC 1157 for generic trap info in Trap-PDU: linkUp.

See Also:
Constant Field Values

trapAuthenticationFailure

static final int trapAuthenticationFailure
Code as defined in RFC 1157 for generic trap info in Trap-PDU: authenticationFailure.

See Also:
Constant Field Values

trapEgpNeighborLoss

static final int trapEgpNeighborLoss
Code as defined in RFC 1157 for generic trap info in Trap-PDU: egpNeighborLoss.

See Also:
Constant Field Values

trapEnterpriseSpecific

static final int trapEnterpriseSpecific
Code as defined in RFC 1157 for generic trap info in Trap-PDU: enterpriseSpecific.

See Also:
Constant Field Values

snmpRspNoError

static final int snmpRspNoError
Error code as defined in RFC 1448 for: noError.

See Also:
Constant Field Values

snmpRspTooBig

static final int snmpRspTooBig
Error code as defined in RFC 1448 for: tooBig.

See Also:
Constant Field Values

snmpRspNoSuchName

static final int snmpRspNoSuchName
Error code as defined in RFC 1448 for: noSuchName.

See Also:
Constant Field Values

snmpRspBadValue

static final int snmpRspBadValue
Error code as defined in RFC 1448 for: badValue.

See Also:
Constant Field Values

snmpRspReadOnly

static final int snmpRspReadOnly
Error code as defined in RFC 1448 for: readOnly.

See Also:
Constant Field Values

snmpRspGenErr

static final int snmpRspGenErr
Error code as defined in RFC 1448 for: genErr.

See Also:
Constant Field Values

snmpRspNoAccess

static final int snmpRspNoAccess
Error code as defined in RFC 1448 for: noAccess.

See Also:
Constant Field Values

snmpRspWrongType

static final int snmpRspWrongType
Error code as defined in RFC 1448 for: wrongType.

See Also:
Constant Field Values

snmpRspWrongLength

static final int snmpRspWrongLength
Error code as defined in RFC 1448 for: wrongLength.

See Also:
Constant Field Values

snmpRspWrongEncoding

static final int snmpRspWrongEncoding
Error code as defined in RFC 1448 for: wrongEncoding.

See Also:
Constant Field Values

snmpRspWrongValue

static final int snmpRspWrongValue
Error code as defined in RFC 1448 for: wrongValue.

See Also:
Constant Field Values

snmpRspNoCreation

static final int snmpRspNoCreation
Error code as defined in RFC 1448 for: noCreation.

See Also:
Constant Field Values

snmpRspInconsistentValue

static final int snmpRspInconsistentValue
Error code as defined in RFC 1448 for: inconsistentValue.

See Also:
Constant Field Values

snmpRspResourceUnavailable

static final int snmpRspResourceUnavailable
Error code as defined in RFC 1448 for: resourceUnavailable.

See Also:
Constant Field Values

snmpRspCommitFailed

static final int snmpRspCommitFailed
Error code as defined in RFC 1448 for: commitFailed.

See Also:
Constant Field Values

snmpRspUndoFailed

static final int snmpRspUndoFailed
Error code as defined in RFC 1448 for: undoFailed.

See Also:
Constant Field Values

snmpRspAuthorizationError

static final int snmpRspAuthorizationError
Error code as defined in RFC 1448 for: authorizationError.

See Also:
Constant Field Values

snmpRspNotWritable

static final int snmpRspNotWritable
Error code as defined in RFC 1448 for: notWritable.

See Also:
Constant Field Values

snmpRspInconsistentName

static final int snmpRspInconsistentName
Error code as defined in RFC 1448 for: inconsistentName.

See Also:
Constant Field Values

noSuchView

static final int noSuchView
Error that is returned by VACM.

See Also:
Constant Field Values

noSuchContext

static final int noSuchContext
Error that is returned by VACM.

See Also:
Constant Field Values

noGroupName

static final int noGroupName
Error that is returned by VACM.

See Also:
Constant Field Values

notInView

static final int notInView
Error that is returned by VACM.

See Also:
Constant Field Values

snmpReqTimeout

static final int snmpReqTimeout
Error code specific to the API.

Used if the request PDU exceeds the maxTries limit defined in the SnmpPeer object.

See Also:
Constant Field Values

snmpReqAborted

static final int snmpReqAborted
Error code specific to the API.

Used if the pending request PDU is canceled.

See Also:
Constant Field Values

snmpRspDecodingError

static final int snmpRspDecodingError
Error code specific to the API.

Used if the response to the request PDU fails at decoding time.

See Also:
Constant Field Values

snmpReqEncodingError

static final int snmpReqEncodingError
Error code specific to the API.

Used if the request PDU does not retrieve the community string at authentication encoding time.

See Also:
Constant Field Values

snmpReqPacketOverflow

static final int snmpReqPacketOverflow
Error code specific to the API.

Used if the request PDU does not fit in the maxSnmpPktSize limit defined in the SnmpPeer object.

See Also:
Constant Field Values

snmpRspEndOfTable

static final int snmpRspEndOfTable
Error code specific to the API.

Used for the last variable returned by a Walk request PDU.

See Also:
Constant Field Values

snmpReqRefireAfterVbFix

static final int snmpReqRefireAfterVbFix
Error code specific to the API.

Used if the request PDU is retried after a noSuchName error fixed. This is an internal temporary status.

See Also:
Constant Field Values

snmpReqHandleTooBig

static final int snmpReqHandleTooBig
Error code specific to the API.

Used if the size of the request PDU varBindList exceeds the maxVarBindLimit limit defined in the SnmpPeer object.

See Also:
Constant Field Values

snmpReqTooBigImpossible

static final int snmpReqTooBigImpossible
Error code specific to the API.

Used if the request PDU fails with a tooBig error status but its varBindList contains just one element.

See Also:
Constant Field Values

snmpReqInternalError

static final int snmpReqInternalError
Error code specific to the API.

Used if an internal error occurs when processing the request PDU.

See Also:
Constant Field Values

snmpReqSocketIOError

static final int snmpReqSocketIOError
Error code specific to the API.

Used if an I/O error occurs when sending the request PDU.

See Also:
Constant Field Values

snmpReqUnknownError

static final int snmpReqUnknownError
Error code specific to the API.

Used if the request PDU fails at encoding time or sending time for a reason not covered by the previous error codes.

See Also:
Constant Field Values

snmpWrongSnmpVersion

static final int snmpWrongSnmpVersion
Error code specific to the API.

See Also:
Constant Field Values

snmpUnknownPrincipal

static final int snmpUnknownPrincipal
SNMP V3 Error code specific to the API.

Used if the used principal is unknown.

See Also:
Constant Field Values

snmpAuthNotSupported

static final int snmpAuthNotSupported
SNMP V3 Error code specific to the API.

Used if authentication is not supported for the current user.

See Also:
Constant Field Values

snmpPrivNotSupported

static final int snmpPrivNotSupported
SNMP V3 Error code specific to the API.

Used if privacy is not supported for the current user.

See Also:
Constant Field Values

snmpBadSecurityLevel

static final int snmpBadSecurityLevel
SNMP V3 Error code specific to the API.

Used if privacy is not supported for the current user.

See Also:
Constant Field Values

snmpUsmBadEngineId

static final int snmpUsmBadEngineId
SNMP Usm V3 Error code specific to the API.

Used if the authoritative engine Id is not associated to the current user.

See Also:
Constant Field Values

snmpUsmInvalidTimeliness

static final int snmpUsmInvalidTimeliness
SNMP Usm V3 Error code specific to the API.

Used if the timeliness params are invalid.

See Also:
Constant Field Values

snmpV1SecurityModel

static final int snmpV1SecurityModel
Snmp V1 security model id (1).

See Also:
Constant Field Values

snmpV2SecurityModel

static final int snmpV2SecurityModel
Snmp V2 security model id (2).

See Also:
Constant Field Values

snmpUsmSecurityModel

static final int snmpUsmSecurityModel
Snmp V3 security model id (3).

See Also:
Constant Field Values

snmpV1MsgProcessingModel

static final int snmpV1MsgProcessingModel
Snmp V1 msg processing model id (0).

See Also:
Constant Field Values

snmpV2MsgProcessingModel

static final int snmpV2MsgProcessingModel
Snmp V2 msg processing model id (1).

See Also:
Constant Field Values

snmpV3MsgProcessingModel

static final int snmpV3MsgProcessingModel
Snmp V3 msg processing model id (3).

See Also:
Constant Field Values

snmpV1AccessControlModel

static final int snmpV1AccessControlModel
Snmp V1 access control model id (0).

See Also:
Constant Field Values

snmpV2AccessControlModel

static final int snmpV2AccessControlModel
Snmp V2 access control model id (1).

See Also:
Constant Field Values

snmpV3AccessControlModel

static final int snmpV3AccessControlModel
Snmp V3 access control model id (3).

See Also:
Constant Field Values

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.