org.gbanga.api
Interface EventListener


public interface EventListener

An event listener can be subscribed to an event delivery service and is notified on events.

Author:
Matthias
See Also:
Event

Method Summary
 java.lang.String getKey()
          Gets the key that identifies this EventListener.
 void onEvent(Event e)
          Called when an event occured.
 

Method Detail

getKey

java.lang.String getKey()
Gets the key that identifies this EventListener.

Returns:
the key that identifies this EventListener.

onEvent

void onEvent(Event e)
Called when an event occured.

Parameters:
e - the occured event