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
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 codesession - Session PDU was received onpdu - The pdu receivedo - 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