public class UnlistenEventListenerAdapter extends Object implements UnlistenEventListener
UnlistenEvent
instances. An UnlistenEvent is for example triggered on a timeout
or when a user/client leaves a domain. The UnlistenEventListenerAdapter
provides the apply method (RemoteEventListener.apply(de.novanic.eventservice.client.event.Event))
and a default implementation of UnlistenEventListener.UnlistenEventListener.Scope| Constructor and Description |
|---|
UnlistenEventListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Event anEvent)
The apply method checks if the occurred event is an
UnlistenEvent
and dispatches the event to UnlistenEventListener.onUnlisten(UnlistenEvent). |
void |
onUnlisten(UnlistenEvent anUnlistenEvent)
The method onUnlisten is called when an
UnlistenEvent occurs. |
public UnlistenEventListenerAdapter()
public void apply(Event anEvent)
UnlistenEvent
and dispatches the event to UnlistenEventListener.onUnlisten(UnlistenEvent).apply in interface RemoteEventListeneranEvent - event to processpublic void onUnlisten(UnlistenEvent anUnlistenEvent)
UnlistenEvent occurs.onUnlisten in interface UnlistenEventListeneranUnlistenEvent - triggered UnlistenEventCopyright © 2012. All Rights Reserved.