Handler ======= .. java:package:: se.sics.kompics :noindex: .. java:type:: public abstract class Handler The \ ``Handler``\ class. :author: Cosmin Arad , Jim Dowling , Lars Kroll Fields ------ eventType ^^^^^^^^^ .. java:field:: Class eventType :outertype: Handler Constructors ------------ Handler ^^^^^^^ .. java:constructor:: public Handler() :outertype: Handler Instantiates a new handler. Handler ^^^^^^^ .. java:constructor:: public Handler(Class eventType) :outertype: Handler Instantiates a new handler. :param eventType: the event type Methods ------- getEventType ^^^^^^^^^^^^ .. java:method:: public Class getEventType() :outertype: Handler Gets the event type. :return: the event type handle ^^^^^^ .. java:method:: public abstract void handle(E event) :outertype: Handler Handle. :param event: the event setEventType ^^^^^^^^^^^^ .. java:method:: public void setEventType(Class eventType) :outertype: Handler Sets the event type. :param eventType: the new event type