com.adventnet.snmp.beans
Interface TrapListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- NotificationAdaptor
- public interface TrapListener
- extends java.util.EventListener
This interface defines the listener for incoming traps.
The TrapEvent events are generated when traps are received by the
generator, i.e. Snmp Trap Receiver. The Snmp Trap Receiver calls the
receivedTrap method of all the Trap Listener objects registered to it.
The TrapEvent contains the TrapPDU and the details of the Trap received.
- See Also:
SnmpTrapReceiver
,
TrapEvent
Method Summary |
void |
receivedTrap(TrapEvent e)
Invoked on the listener when the trap is
received by the generator, i.e, SnmpTrapReceiver. |
receivedTrap
public void receivedTrap(TrapEvent e)
- Invoked on the listener when the trap is
received by the generator, i.e, SnmpTrapReceiver.
Copyright (c)AdventNet Inc., 1996-2004