|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snmp.message.handler.SnmpGetResponseHandler
This class provides the required operations to handle SNMP GetResponse-PDU.
Field Summary | |
private static SnmpGetResponseHandler |
instance
|
private static int |
RESPONSE
|
Constructor Summary | |
private |
SnmpGetResponseHandler()
Constructs the SnmpGetResponseHandler object |
Method Summary | |
int |
getHandlerType()
Gets the type of the handler. |
static SnmpGetResponseHandler |
getInstance()
Gets the singleton object of the SnmpGetResponseHandler. |
private void |
handleGetResponse(SnmpSessionEvent event)
|
void |
handleSession(SnmpSessionEvent event)
Invoked to handle the session when the SNMP PDU is "GetResponse-PDU". |
boolean |
isHandler(int type)
This method returns true if it is the right listener to handle the message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static int RESPONSE
private static SnmpGetResponseHandler instance
Constructor Detail |
private SnmpGetResponseHandler()
Method Detail |
public void handleSession(SnmpSessionEvent event)
handleSession
in interface SnmpSessionEventListener
event
- The SnmpSessionEvent objectpublic boolean isHandler(int type)
isHandler
in interface SnmpMessageHandler
type
- Type of the operationpublic int getHandlerType()
getHandlerType
in interface SnmpMessageHandler
private void handleGetResponse(SnmpSessionEvent event)
public static SnmpGetResponseHandler getInstance()
|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |