net.sf.snmpadaptor4j.core
Class JmxNotificationManager.Listener

java.lang.Object
  extended by 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.


Field Summary
protected  SnmpTrapBuilder trapBuilder
          Builder of SNMP traps from JMX notifications for an MBean.
 
Constructor Summary
protected JmxNotificationManager.Listener(SnmpTrapBuilder trapBuilder)
          Constructor.
 
Method Summary
 void handleNotification(Notification notification, Object handback)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

trapBuilder

protected final SnmpTrapBuilder trapBuilder
Builder of SNMP traps from JMX notifications for an MBean.

Constructor Detail

JmxNotificationManager.Listener

protected JmxNotificationManager.Listener(SnmpTrapBuilder trapBuilder)
Constructor.

Parameters:
trapBuilder - Builder of SNMP traps from JMX notifications for an MBean (must not be NULL).
Method Detail

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.