Package ej.event
Class NullEventQueueListener
- java.lang.Object
-
- ej.event.NullEventQueueListener
-
- All Implemented Interfaces:
EventQueueListener
public class NullEventQueueListener extends java.lang.Object implements EventQueueListener
Implementation of event listener that does nothing.
-
-
Constructor Summary
Constructors Constructor Description NullEventQueueListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(int type, int data)Handles an event.voidhandleExtendedEvent(int type, EventDataReader eventDataReader)Handles an extended event.
-
-
-
Method Detail
-
handleEvent
public void handleEvent(int type, int data)Description copied from interface:EventQueueListenerHandles an event.This method is called by the queue when an event with the right type is read.
- Specified by:
handleEventin interfaceEventQueueListener- Parameters:
type- the type of the event to handle.data- the data of the event to handle.
-
handleExtendedEvent
public void handleExtendedEvent(int type, EventDataReader eventDataReader)Description copied from interface:EventQueueListenerHandles an extended event.This method is called by the queue when an extended event with the right type is read.
- Specified by:
handleExtendedEventin interfaceEventQueueListener- Parameters:
type- the type of the event to handle.eventDataReader- the EventDataReader of the event to handle.
-
-