Apama
9.10.0.4.289795
|
An EventConsumer can connect to the Engine through an EventSupplier and register to receive events. More...
#include <engine_client_cpp.hpp>
Public Member Functions | |
virtual void | sendEvents (const Event *const *events)=0 |
This method must be defined in inherited classes to enable receiving of events. More... | |
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 inherit from this class and define its sendEvents method. This method is called by the EventSupplier when events are emitted from the Engine.
EventConsumers are not copiable
|
pure virtual |
This method must be defined in inherited classes to enable receiving of events.
This method is called by an EventSupplier.
Note that EventSuppliers are not reentrant so calling the disconnect method on the calling EventSupplier is not permitted from within the sendEvents implementation.
events | A null-terminated array of pointers to Event objects. |
Implemented in com::apama::engine::EngineManagement.