public interface EventSender
Obtained via the method EPRuntime#getEventSender(String) the sender is specific to a given event type and may not process event objects of any other event type; See the method documentation for more details.
Modifier and Type | Method and Description |
---|---|
void |
routeEvent(java.lang.Object theEvent)
Route the event object back to the event stream processing runtime for internal dispatching,
to avoid the possibility of a stack overflow due to nested calls to sendEvent.
|
void |
sendEvent(java.lang.Object theEvent)
Processes the event object.
|
void sendEvent(java.lang.Object theEvent) throws EPException
Use the route method for sending events into the runtime from within UpdateListener code. to avoid the possibility of a stack overflow due to nested calls to sendEvent.
theEvent
- to processEPException
- if a runtime error occured.void routeEvent(java.lang.Object theEvent) throws EPException
theEvent
- to processEPException
- is thrown when the processing of the event lead to an error