snmp.message.handler
Class SnmpGetNextRequestHandler
java.lang.Object
|
+--snmp.message.handler.DefaultSnmpRequestHandler
|
+--snmp.message.handler.SnmpGetNextRequestHandler
- All Implemented Interfaces:
- java.util.EventListener, SnmpMessageHandler, SnmpRequestHandler, SnmpSessionEventListener
- public class SnmpGetNextRequestHandler
- extends DefaultSnmpRequestHandler
This class provides the required operations to
handle SNMP GetNextRequest-PDU.
- Version:
- $Revision: 0.1 $ $Date: 2004/03/09 06:03:49 $
- Author:
- Scott Cheng
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static SnmpGetNextRequestHandler instance
SnmpGetNextRequestHandler
private SnmpGetNextRequestHandler()
- Constructs the SnmpGetNextRequestHandler object
handleSession
public void handleSession(SnmpSessionEvent event)
- Invoked to handle the session when the SNMP PDU is "GetNextRequest-PDU".
- Parameters:
event
- The SnmpSessionEvent object
getHandlerType
public int getHandlerType()
- Gets the type of the handler.
- Returns:
- The handler type
handleGetNextRequest
private void handleGetNextRequest(SnmpSessionEvent event)
getInstance
public static SnmpGetNextRequestHandler getInstance()
- Gets the singleton object of the SnmpGetNextRequestHandler.
- Returns:
- The singleton object of the SnmpGetNextRequestHandler