com.apama.event
Interface EventConsumer
- All Known Subinterfaces:
- DisconnectableEventConsumer, EngineManagement
public interface EventConsumer
An EventConsumer can connect to the Engine through an
EventSupplier and register to receive events. In order to
receive events from the Engine, a developer must implement
this interface and define its sendEvents method. This method is
called by the EventSupplier when events are emitted from the
Engine.
Method Summary |
void |
sendEvents(Event[] events)
This method must be defined in implementing classes to
enable receiving of events. |
sendEvents
void sendEvents(Event[] events)
throws EngineException
- This method must be defined in implementing classes to
enable receiving of events. This method is called by an
EventSupplier.
- Parameters:
events
- An array of Event objects.
- Throws:
EngineException
Submit a bug or feature
Copyright (c) 2013-2014 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.