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.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.