com.espertech.esper.client.dataflow
Class EPDataFlowEventCollectorContext

java.lang.Object
  extended by com.espertech.esper.client.dataflow.EPDataFlowEventCollectorContext

public class EPDataFlowEventCollectorContext
extends java.lang.Object

For use with EPDataFlowEventCollector provides collection context.

Do not retain handles to this instance as its contents may change.


Constructor Summary
EPDataFlowEventCollectorContext(EventBusCollector eventBusCollector, java.lang.Object event)
          Ctor.
 
Method Summary
 java.lang.Object getEvent()
          Returns the event.
 EventBusCollector getEventBusCollector()
          Returns the emitter for the event bus.
 void setEvent(java.lang.Object event)
          Sets the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPDataFlowEventCollectorContext

public EPDataFlowEventCollectorContext(EventBusCollector eventBusCollector,
                                       java.lang.Object event)
Ctor.

Parameters:
eventBusCollector - for sending events to the event bus
event - to process
Method Detail

getEvent

public java.lang.Object getEvent()
Returns the event.

Returns:
event

setEvent

public void setEvent(java.lang.Object event)
Sets the event.

Parameters:
event - to set

getEventBusCollector

public EventBusCollector getEventBusCollector()
Returns the emitter for the event bus.

Returns:
emitter

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com