SourceForge.net Logo

org.netsnmp
Interface NetSNMPAction

All Superinterfaces:
EventListener
All Known Implementing Classes:
ValueCollector

public interface NetSNMPAction
extends EventListener

Interface implemented by objects that will process the result of an SNMP operation.

Author:
Andrew E. Page aepage@users.sourceforge.net

Method Summary
 boolean actionPerformed(int result, NetSNMPSession session, PDU pdu, Object o)
          Called when a session receives a pdu result
 

Method Detail

actionPerformed

public boolean actionPerformed(int result,
                               NetSNMPSession session,
                               PDU pdu,
                               Object o)
                        throws Throwable
Called when a session receives a pdu result

Parameters:
result - SNMP Supporting library specific code
session - Session PDU was received on
pdu - The pdu received
o - Object supplied by caller to send method
Returns:
TRUE if other listeners are to be called, FALSE if not
Throws:
Throwable - Exception to be caught by the internal thread

SourceForge.net Logo