Package pygar.state
Interface EventListener<T>
- Type Parameters:
T
-
public interface EventListener<T>
The EventListener interface contains just one procedure which handles
an event by performing actions. The procedure is passed two parameters
that it may use to control the action. Either may be null depending
on the function of the procedure.
-
Method Summary
Modifier and Type Method Description void
eventHandler(T context, java.lang.String eventName)
-
Method Details
-
eventHandler
void eventHandler(T context, java.lang.String eventName) throws MessageSystemException, java.lang.InterruptedException, java.lang.reflect.InvocationTargetException- Throws:
MessageSystemException
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
-