|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.EventSenderImpl
public class EventSenderImpl
Event sender for use with plug-in event representations.
The implementation asks a list of event bean factoryies originating from plug-in event representations to each reflect on the event and generate an event bean. The first one to return an event bean wins.
Constructor Summary | |
---|---|
EventSenderImpl(java.util.List<EventSenderURIDesc> handlingFactories,
EPRuntimeEventSender epRuntime,
ThreadingService threadingService)
Ctor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventSenderImpl(java.util.List<EventSenderURIDesc> handlingFactories, EPRuntimeEventSender epRuntime, ThreadingService threadingService)
handlingFactories
- list of factoriesepRuntime
- the runtime to use to process the eventthreadingService
- for inbound threadingMethod Detail |
---|
public void sendEvent(java.lang.Object theEvent) throws EPException
EventSender
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.
sendEvent
in interface EventSender
theEvent
- to process
EPException
- if a runtime error occured.public void route(java.lang.Object theEvent) throws EPException
EventSender
route
in interface EventSender
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 |