de.novanic.eventservice.client.event.listener
Interface RemoteEventListener

All Known Subinterfaces:
UnlistenEventListener
All Known Implementing Classes:
UnlistenEventListenerAdapter

public interface RemoteEventListener

A RemoteEventListener should be used to process events on client side. The apply method (apply(de.novanic.eventservice.client.event.Event)) should check the incoming event and call another method of the extending interface of RemoteEventListener. For example the extending interface of RemoteEventListener is "UserListListener" and The incoming event "UserAddEvent". The apply method should call a method like "userAdded" and the implementation of the listener can handle the userAdded call.

Author:
sstrohschein
Date: 06.06.2008
Time: 18:57:30

Method Summary
 void apply(Event anEvent)
          The apply method should recognize the incoming events and dispatch to a similar method of the extending interface.
 

Method Detail

apply

void apply(Event anEvent)
The apply method should recognize the incoming events and dispatch to a similar method of the extending interface. For example the extending interface of RemoteEventListener is "UserListListener" and The incoming event "UserAddEvent". The apply method should call a method like "userAdded" and the implementation of the listener can handle the userAdded call.

Parameters:
anEvent - event to process