public class NotificationListenerTracking extends Object
| Constructor and Description |
|---|
NotificationListenerTracking(boolean synchronize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
int |
getListenerCount() |
List<NotificationListenerInfo> |
removeNotificationListener(NotificationListener listener)
Remove all instances of the specified listener and return
their corresponding NotificationListenerInfo.
|
NotificationListenerInfo |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
Remove the first instance of the specified listener/filter/handback
combination and return its corresponding NotificationListenerInfo.
|
public NotificationListenerTracking(boolean synchronize)
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
public int getListenerCount()
public List<NotificationListenerInfo> removeNotificationListener(NotificationListener listener)
NotificationEmitter.public NotificationListenerInfo removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
NotificationEmitter.Copyright © 2019. All rights reserved.