public class Synchronizer extends Object implements NotificationListener
During the synchronisation phase any asynchronous events are queued and processed after synchronisation. Duplicates are detected by the notification number and removed.
| Constructor and Description |
|---|
Synchronizer(NotificationListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleNotification(Notification notification,
Object handback) |
void |
synchronize(Notification[] last)
Synchronous synchronisation with notifications.
|
public Synchronizer(NotificationListener listener)
public void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenerpublic void synchronize(Notification[] last)
last - The last notifications.