All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.snmp.manager.AsyncRspHandler

java.lang.Object
   |
   +----examples.snmp.manager.AsyncRspHandler

public class AsyncRspHandler
extends Object
implements SnmpHandlerIf
This class is a simple implementation of response handler.

The class is used by the AsyncManager manager for handling responses.


Constructor Index

 o AsyncRspHandler(Thread)
Create a handler.

Method Index

 o processSnmpInternalError(SnmpRequest, String)
 o processSnmpPollData(SnmpRequest, int, int, SnmpVarbindList)
 o processSnmpPollTimeout(SnmpRequest)

Constructors

 o AsyncRspHandler
 public AsyncRspHandler(Thread caller)
Create a handler. When an error is received, the caller will be reactivated.

Methods

 o processSnmpPollData
 public void processSnmpPollData(SnmpRequest request,
                                 int errStatus,
                                 int errIndex,
                                 SnmpVarbindList vblist)
 o processSnmpPollTimeout
 public void processSnmpPollTimeout(SnmpRequest request)
 o processSnmpInternalError
 public void processSnmpInternalError(SnmpRequest request,
                                      String errmsg)

All Packages  Class Hierarchy  This Package  Previous  Next  Index