Package org.jppf.jmxremote.notification
Class ClientListenerInfo
java.lang.Object
org.jppf.jmxremote.notification.ClientListenerInfo
Client-side wrapper for a registered notiication listener.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionClientListenerInfo(int listenerID, ObjectName mbeanName, NotificationListener listener, NotificationFilter filter, Object handback) Initialize with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionint
-
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
- Returns:
- the notification listener.
-
getHandback
- Returns:
- the listener handback object.
-
getMbeanName
- Returns:
- the notification listener. May be null, in which case
#getListenerName()must not return null.
-
getFilter
- Returns:
- the associated notification filter to apply.
-