eneter.net.system
Interface EventHandler<T>
- Type Parameters:
T
- type of data notified by the event.
public interface EventHandler<T>
Event handler to process events.
The event handler is used by a client to subscribe for some event.
Then, when the event is notified, the method onEvent is called.
For example see EventImpl
.
Method Summary |
void |
onEvent(java.lang.Object sender,
T e)
Method processing the event. |
onEvent
void onEvent(java.lang.Object sender,
T e)
- Method processing the event.
- Parameters:
sender
- e
-