Adapter Class

Defines the methods and properties that must be implemented by input and output adapters.

Namespace:  Microsoft.ComplexEventProcessing.Adapters
Assembly:  Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)

public abstract class Adapter : IDisposable

The Adapter type exposes the following members.

Protected methodAdapterInitializes a new instance of the Adapter class.

Public propertyAdapterStateGets the state of the adapter.

Protected methodCleanupResourcesInternal virtual function that does cleanup of resources. To be overridden by the input and output adapter base classes.
Public methodDispose()Releases all of the resources owned by the adapter host.
Protected methodDispose(Boolean)Implements the Dispose pattern. To be overridden by derived classes
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnStoppedThis function is called when the adapter invokes Stopped to stop itself. It allows derived classes to implement additional behavior besides what the base class does.
Public methodReadyInvoked by the adapter to signal to the engine that it is ready to be resumed. The engine will invoke Resume() only after the adapter has called Ready().
Public methodResumeCalls Resume() on its own worker thread.
Public methodStartCalls Start() on its own worker thread.
Public methodStopNotifies the adapter to stop as a result of stopping or aborting the query.
Public methodStoppedInvoked by the adapter to notify the runtime that the adapter has shut down.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.