The IEventService interface
To get an EventService object, call the createEventService() method of the com.apama.services.event.EventServiceFactory class. The returned object implements the IEventService interface. With this object the following methods are available:
IEventServiceChannel addChannel() — defined as:
IEventServiceChannel addChannel(
java.lang.String channelName,
java.util.Map<String, Object> channelConfig)
Create an EventServiceChannel specifically for listening to a given channel or channels.
void destroy() Destroy this service (not the correlator).
IEventServiceChannel getChannel(java.lang.String channelName) Get an EventServiceChannel for a given channel or channels.
EngineClientInterface getEngineClient() Get a handle on the underlying EngineClient.
boolean isDestroyed() Determine if this service (not the correlator) is destroyed.
void removeChannel(java.lang.String channelName) Remove an EventServiceChannel for a given channel or channels.
void sendEvent(Event event) Send an event to the correlator using the EngineClient.