Click or drag to resize

CoordinatedAdapter Interface

An Adapter that can be coordinated by an AdapterCoordinator.

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

The CoordinatedAdapter type exposes the following members.

Properties
  NameDescription
Public propertyRuntime
Set the runtime
Public propertyScheduleSlot
Set the scheduleSlot for thisAdapter.
Public propertyState
Get the state of this Adapter.
(Inherited from Adapter.)
Public propertyUsingEngineThread
Set the usingEngineThread value
Public propertyUsingExternalTimer
Set the usingExternalTimer value
Top
Methods
  NameDescription
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.
(Inherited from 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.
(Inherited from Adapter.)
Public methodRead
Get the next event in line to be sent into the runtime , or null if there is no available event.

Return Value

Type: 
an instance of SendableEvent that wraps the next event to send, or null if none
Public methodResume
Resume sending events after the Adapter has been paused.
(Inherited from Adapter.)
Public methodStart
Start the sending of events into the runtime egine.
(Inherited from Adapter.)
Public methodStop
Stop sending events and return the Adapter to the OPENED state, ready to be started once again.
(Inherited from Adapter.)
Top
See Also