Click or drag to resize

AbstractCoordinatedAdapter Class

A skeleton implementation for coordinated adapter reading, for adapters that can do timestamp-coordinated input.
Inheritance Hierarchy

Namespace:  com.espertech.esperio
Assembly:  NEsper.IO (in NEsper.IO.dll) Version: 8.0.0.0
Syntax
C#
public abstract class AbstractCoordinatedAdapter : CoordinatedAdapter, 
	InputAdapter, Adapter

The AbstractCoordinatedAdapter type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractCoordinatedAdapter
Ctor.
Top
Properties
  NameDescription
Public propertyProcessEvent
Gets the process event.
Public propertyRuntime
Sets the service.
Public propertyScheduleSlot
Gets or sets the schedule slot.
Public propertySender
Gets or sets the sender.
Public propertyState
Get the state of this Adapter.
Public propertyUsingEngineThread
Gets or sets the using engine thread.
Public propertyUsingExternalTimer
Gets or sets a value indicating whether to use esper's external timer mechanism instead of internal timing
Public propertyUsingTimeSpanEvents
Gets or sets a value indicating whether to use timespan events.
Top
Methods
  NameDescription
Protected methodClose
Perform any actions specific to this Adapter that should be completed before the Adapter is stopped.
Public methodDestroy
Dispose the Adapter, stopping the sending of all events and releasing all the resources, and disallowing any further state changes on the Adapter.
Public methodDisallowStateTransitions
Disallow subsequent state changes and throw an IllegalStateTransitionException if they are attempted.
Public methodPause
Pause the sending of events after a Adapter has been started.
Public methodRead
Protected methodReplaceFirstEventToSend
Remove the first member of eventsToSend and insert another event chosen in some fashion specific to this Adapter.
Protected methodReset
Reset all the changeable state of this Adapter, as if it were just created.
Public methodResume
Resume sending events after the Adapter has been paused.
Public methodStart
Start the sending of events into the runtime egine.
Public methodStop
Stop sending events and return the Adapter to the OPENED state, ready to be started once again.
Top
Fields
  NameDescription
Protected fieldEventsToSend
Sorted events to be sent.
Protected fieldStateManager
Statement management.
Top
See Also