public abstract class AbstractSender
extends java.lang.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,
java.util.Map mapToSend,
java.lang.String eventTypeName)
Send an event.
|
abstract void |
sendEvent(AbstractSendableEvent theEvent,
java.lang.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, java.lang.Object beanToSend)
theEvent
- wrapperbeanToSend
- event objectpublic abstract void sendEvent(AbstractSendableEvent theEvent, java.util.Map mapToSend, java.lang.String eventTypeName)
theEvent
- wrappermapToSend
- event objecteventTypeName
- name of event typepublic abstract void onFinish()