|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.client.event.listener.unlisten.UnlistenEventListenerAdapter
public class UnlistenEventListenerAdapter
The UnlistenEventListener can be implemented to listen for 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface de.novanic.eventservice.client.event.listener.unlisten.UnlistenEventListener |
|---|
UnlistenEventListener.Scope |
| Constructor Summary | |
|---|---|
UnlistenEventListenerAdapter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnlistenEventListenerAdapter()
| Method Detail |
|---|
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 UnlistenEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||