|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sun.management.snmp.manager
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Provides the callback methods that are required to be implemented by the application. An application creates one or more sessions to perform one or many SNMP operations in the form of requests.
Each request is provided with an object that implements this callback interface. An application then uses the session to start an SNMP request, which marks the request as active. The methods in this callback interface get invoked when any of the following happens:
Typically, an application would save the response SnmpVarBindList
into its own data structure for further processing, or start another SNMP
operation that may be a logical succession (for example, perform a
SnmpSet
first and then start SnmpGet
for results).
SnmpRequest
Field Summary |
Method Summary | |
void |
processSnmpInternalError(SnmpRequest request,
String errmsg)
Deprecated. This callback is invoked when any form of internal error occurs during processing of the session. |
void |
processSnmpPollData(SnmpRequest request,
int errStatus,
int errIndex,
SnmpVarBindList vblist)
Deprecated. This callback is invoked when a peer responds to an SNMP request. |
void |
processSnmpPollTimeout(SnmpRequest request)
Deprecated. This callback is invoked when a peer does not respond within the specified timeout value to the SNMP request. |
Method Detail |
public void processSnmpPollData(SnmpRequest request, int errStatus, int errIndex, SnmpVarBindList vblist)
request
- The SnmpRequest
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 void processSnmpPollTimeout(SnmpRequest request)
request
- The SnmpRequest
associated with this callback.public void processSnmpInternalError(SnmpRequest request, String errmsg)
request
- The SnmpRequest
associated with this callback.errmsg
- The String
describing the internal error.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |