com.sun.jmx.snmp.daemon.SnmpInformHandler |
Class Overview
Provides the callback methods that are required to be implemented by the application
when an inform response is received by the agent.
Each inform request can be provided with an object that implements this callback
interface. An application then uses the SNMP adaptor to start an SNMP inform request,
which marks the request as active. The methods in this callback interface
get invoked when any of the following happens:
- The agent receives the SNMP inform response.
- The agent does not receive any response within a specified time and the number of tries
have exceeded the limit (timeout condition).
- An internal error occurs while processing or parsing the inform request.
This API is a Sun Microsystems internal API and is subject
to change without notice.
Summary
[Expand]
Inherited Constants |
From interface
com.sun.jmx.snmp.SnmpDefinitions
int |
CtxtConsFlag |
|
int |
authMask |
|
int |
authNoPriv |
|
int |
authPriv |
|
int |
authPrivMask |
|
int |
noAuthNoPriv |
|
int |
noGroupName |
|
int |
noSuchContext |
|
int |
noSuchView |
|
int |
notInView |
|
int |
pduGetBulkRequestPdu |
|
int |
pduGetNextRequestPdu |
|
int |
pduGetRequestPdu |
|
int |
pduGetResponsePdu |
|
int |
pduInformRequestPdu |
|
int |
pduReportPdu |
|
int |
pduSetRequestPdu |
|
int |
pduV1TrapPdu |
|
int |
pduV2TrapPdu |
|
int |
pduWalkRequest |
|
int |
privMask |
|
int |
reportableFlag |
|
int |
snmpAuthNotSupported |
|
int |
snmpBadSecurityLevel |
|
int |
snmpPrivNotSupported |
|
int |
snmpReqAborted |
|
int |
snmpReqEncodingError |
|
int |
snmpReqHandleTooBig |
|
int |
snmpReqInternalError |
|
int |
snmpReqPacketOverflow |
|
int |
snmpReqRefireAfterVbFix |
|
int |
snmpReqSocketIOError |
|
int |
snmpReqTimeout |
|
int |
snmpReqTooBigImpossible |
|
int |
snmpReqUnknownError |
|
int |
snmpRspAuthorizationError |
|
int |
snmpRspBadValue |
|
int |
snmpRspCommitFailed |
|
int |
snmpRspDecodingError |
|
int |
snmpRspEndOfTable |
|
int |
snmpRspGenErr |
|
int |
snmpRspInconsistentName |
|
int |
snmpRspInconsistentValue |
|
int |
snmpRspNoAccess |
|
int |
snmpRspNoCreation |
|
int |
snmpRspNoError |
|
int |
snmpRspNoSuchName |
|
int |
snmpRspNotWritable |
|
int |
snmpRspReadOnly |
|
int |
snmpRspResourceUnavailable |
|
int |
snmpRspTooBig |
|
int |
snmpRspUndoFailed |
|
int |
snmpRspWrongEncoding |
|
int |
snmpRspWrongLength |
|
int |
snmpRspWrongType |
|
int |
snmpRspWrongValue |
|
int |
snmpUnknownPrincipal |
|
int |
snmpUsmBadEngineId |
|
int |
snmpUsmInvalidTimeliness |
|
int |
snmpUsmSecurityModel |
|
int |
snmpV1AccessControlModel |
|
int |
snmpV1MsgProcessingModel |
|
int |
snmpV1SecurityModel |
|
int |
snmpV2AccessControlModel |
|
int |
snmpV2MsgProcessingModel |
|
int |
snmpV2SecurityModel |
|
int |
snmpV3AccessControlModel |
|
int |
snmpV3MsgProcessingModel |
|
byte |
snmpVersionOne |
|
byte |
snmpVersionThree |
|
byte |
snmpVersionTwo |
|
int |
snmpWrongSnmpVersion |
|
int |
trapAuthenticationFailure |
|
int |
trapColdStart |
|
int |
trapEgpNeighborLoss |
|
int |
trapEnterpriseSpecific |
|
int |
trapLinkDown |
|
int |
trapLinkUp |
|
int |
trapWarmStart |
|
|
Public Methods |
abstract
void
|
processSnmpInternalError(SnmpInformRequest request, String errmsg)
This callback is invoked when any form of internal error occurs.
|
abstract
void
|
processSnmpPollData(SnmpInformRequest request, int errStatus, int errIndex, SnmpVarBindList vblist)
This callback is invoked when a manager responds to an SNMP inform request.
|
abstract
void
|
processSnmpPollTimeout(SnmpInformRequest request)
This callback is invoked when a manager does not respond within the
specified timeout value to the SNMP inform request.
|
Public Methods
public
abstract
void
processSnmpInternalError
(SnmpInformRequest request, String errmsg)
This callback is invoked when any form of internal error occurs.
Parameters
request
| The SnmpInformRequest associated with this callback. |
errmsg
| The String describing the internal error.
|
public
abstract
void
processSnmpPollData
(SnmpInformRequest request, int errStatus, int errIndex, SnmpVarBindList vblist)
This callback is invoked when a manager responds to an SNMP inform request.
The callback should check the error status of the inform request to determine
the kind of response.
Parameters
request
| The SnmpInformRequest associated with this callback. |
errStatus
| The status of the request. |
errIndex
| The index in the list that caused the error. |
vblist
| The Response varBind list for the successful request.
|
public
abstract
void
processSnmpPollTimeout
(SnmpInformRequest request)
This callback is invoked when a manager does not respond within the
specified timeout value to the SNMP inform request. The number of tries have also
been exhausted.
Parameters
request
| The SnmpInformRequest associated with this callback.
|