public abstract class AbstractSender extends Object
Modifier and Type | Field and Description |
---|---|
protected com.espertech.esper.client.EPRuntime |
runtime
Runtime.
|
Constructor and Description |
---|
AbstractSender() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onFinish()
Indicate that sender should stop.
|
abstract void |
sendEvent(AbstractSendableEvent theEvent,
Map mapToSend,
String eventTypeName)
Send an event.
|
abstract void |
sendEvent(AbstractSendableEvent theEvent,
Object beanToSend)
Send an event
|
void |
setRuntime(com.espertech.esper.client.EPRuntime runtime)
Set the engine runtime to use.
|
public void setRuntime(com.espertech.esper.client.EPRuntime runtime)
runtime
- runtime to usepublic abstract void sendEvent(AbstractSendableEvent theEvent, Object beanToSend)
theEvent
- wrapperbeanToSend
- event objectpublic abstract void sendEvent(AbstractSendableEvent theEvent, Map mapToSend, String eventTypeName)
theEvent
- wrappermapToSend
- event objecteventTypeName
- name of event typepublic abstract void onFinish()