Class AbstractSender

java.lang.Object
com.espertech.esperio.csv.AbstractSender
Direct Known Subclasses:
DirectSender

public abstract class AbstractSender extends Object
Sender that abstracts the send processin terms of threading or further pre-processing.
  • Field Details

    • runtime

      protected com.espertech.esper.runtime.client.EPEventService runtime
      Runtime.
  • Constructor Details

    • AbstractSender

      public AbstractSender()
  • Method Details

    • setRuntime

      public void setRuntime(com.espertech.esper.runtime.client.EPEventService runtime)
      Set the runtimeruntime to use.
      Parameters:
      runtime - runtime to use
    • sendEvent

      public abstract void sendEvent(AbstractSendableEvent theEvent, Object beanToSend, String eventTypeName)
      Send an event
      Parameters:
      theEvent - wrapper
      beanToSend - event object
      eventTypeName - event type name
    • sendEvent

      public abstract void sendEvent(AbstractSendableEvent theEvent, Map mapToSend, String eventTypeName)
      Send an event.
      Parameters:
      theEvent - wrapper
      mapToSend - event object
      eventTypeName - name of event type
    • onFinish

      public abstract void onFinish()
      Indicate that sender should stop.