|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventSender
Returns a facility to process event objects that are of a known type.
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 documentatiom for more details.
Obtained via the method EPRuntime.getEventSender(java.net.URI[])
the sender
cooperates with plug-in event representations to reflect upon the event object to determine an appropriate event type
to process the event.
Method Summary | |
---|---|
void |
route(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. |
Method Detail |
---|
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 process
EPException
- if a runtime error occured.void route(java.lang.Object theEvent) throws EPException
theEvent
- to process
EPException
- is thrown when the processing of the event lead to an error
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |