Interface EventListener
This listener is notified whenever a given event is triggered, whether by this client or by another. It can be added via EventHandler.subscribe(eventName,listener)
Methods
void onEvent(String eventName, Object data)
{{#table mode="java-api"}}
-
arg: eventName
typ: String
des: The event name
-
arg: data
typ: Object
des: The arguments that the event has been called with
{{/table}}