public interface RemoteEventListener
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.void apply(Event anEvent)
anEvent
- event to processCopyright © 2012. All Rights Reserved.