public abstract class EventListenerAdapter extends java.lang.Object implements IEventListener
This class provides a simple no-op implementation of the handleEvent(Event) method, and an implementation of the handleEvents(Event[]) method that calls the single handleEvent(Event) method for each event in the array.
To provide a concrete implementation, the programmer needs only to extend this class to provide an implementation of the handleEvent(Event) method, and optionally also the handleEvents(Event[]) method.
Constructor and Description |
---|
EventListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Event event)
Simple no-op implementation of the interface method.
|
void |
handleEvents(Event[] events)
Simple implementation of the interface method that calls
handleEvent(Event) for each item in the array.
|
public void handleEvent(Event event)
handleEvent
in interface IEventListener
event
- The received Event.IEventListener.handleEvent(com.apama.event.Event)
public void handleEvents(Event[] events)
handleEvents
in interface IEventListener
events
- The received array of Events.IEventListener.handleEvents(com.apama.event.Event[])
Submit a bug or feature
Copyright (c) 2013-2020 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.