MySnmpCrawler API

snmp.message.handler
Interface SnmpMessageHandler

All Superinterfaces:
java.util.EventListener, SnmpSessionEventListener
All Known Subinterfaces:
SnmpRequestHandler
All Known Implementing Classes:
DefaultSnmpRequestHandler, SnmpGetResponseHandler, SnmpTrapHandler

public interface SnmpMessageHandler
extends SnmpSessionEventListener

This interface provides the methods such that the implemented class shall provide the implementation to determine if it is a right handler to handle the SNMP message.

Version:
$Revision: 0.1 $ $Date: 2004/03/09 06:03:49 $
Author:
Scott Cheng

Method Summary
 int getHandlerType()
          Gets the type of the handler.
 boolean isHandler(int optType)
          This method returns true if it is the right handler to handle the request.
 
Methods inherited from interface snmp.session.SnmpSessionEventListener
handleSession
 

Method Detail

isHandler

public boolean isHandler(int optType)
This method returns true if it is the right handler to handle the request.

Parameters:
optType - Type of the operation

getHandlerType

public int getHandlerType()
Gets the type of the handler.

Returns:
The handler type

MySnmpCrawler API