Class ClientListenerInfo

java.lang.Object
org.jppf.jmxremote.notification.ClientListenerInfo

public class ClientListenerInfo extends Object
Client-side wrapper for a registered notiication listener.
Author:
Laurent Cohen
  • Constructor Details

    • ClientListenerInfo

      public ClientListenerInfo(int listenerID, ObjectName mbeanName, NotificationListener listener, NotificationFilter filter, Object handback)
      Initialize with the specified parameters.
      Parameters:
      listenerID - the server-side listener ID.
      mbeanName - the object name of the mbean to register the listener with.
      listener - the listener to register.
      filter - the notification filter.
      handback - the associated handback.
  • Method Details

    • getListenerID

      public int getListenerID()
      Returns:
      the server-side listener ID.
    • getListener

      public NotificationListener getListener()
      Returns:
      the notification listener.
    • getHandback

      public Object getHandback()
      Returns:
      the listener handback object.
    • getMbeanName

      public ObjectName getMbeanName()
      Returns:
      the notification listener. May be null, in which case #getListenerName() must not return null.
    • getFilter

      public NotificationFilter getFilter()
      Returns:
      the associated notification filter to apply.