net.sf.snmpadaptor4j.core
Class JmxNotificationManager.Listener
java.lang.Object
net.sf.snmpadaptor4j.core.JmxNotificationManager.Listener
- All Implemented Interfaces:
- EventListener, NotificationListener
- Enclosing class:
- JmxNotificationManager
protected final class JmxNotificationManager.Listener
- extends Object
- implements NotificationListener
JMX notification listener.
trapBuilder
protected final SnmpTrapBuilder trapBuilder
- Builder of SNMP traps from JMX notifications for an MBean.
JmxNotificationManager.Listener
protected JmxNotificationManager.Listener(SnmpTrapBuilder trapBuilder)
- Constructor.
- Parameters:
trapBuilder
- Builder of SNMP traps from JMX notifications for an MBean (must not be NULL
).
handleNotification
public void handleNotification(Notification notification,
Object handback)
- Specified by:
handleNotification
in interface NotificationListener
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.