|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpInformHandler
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:
Field Summary |
---|
Method Summary | |
---|---|
void |
processSnmpInternalError(SnmpInformRequest request,
String errmsg)
This callback is invoked when any form of internal error occurs. |
void |
processSnmpPollData(SnmpInformRequest request,
int errStatus,
int errIndex,
SnmpVarBindList vblist)
This callback is invoked when a manager responds to an SNMP inform request. |
void |
processSnmpPollTimeout(SnmpInformRequest request)
This callback is invoked when a manager does not respond within the specified timeout value to the SNMP inform request. |
Method Detail |
---|
void processSnmpPollData(SnmpInformRequest request, int errStatus, int errIndex, SnmpVarBindList vblist)
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.void processSnmpPollTimeout(SnmpInformRequest request)
request
- The SnmpInformRequest
associated with this callback.void processSnmpInternalError(SnmpInformRequest request, String errmsg)
request
- The SnmpInformRequest
associated with this callback.errmsg
- The String
describing the internal error.
|
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 |