Adapter Class
Defines the methods and properties that must be implemented by input and output adapters.
Inheritance Hierarchy
System.Object
Microsoft.ComplexEventProcessing.Adapters.Adapter
Microsoft.ComplexEventProcessing.Adapters.InputAdapterBase
Microsoft.ComplexEventProcessing.Adapters.OutputAdapterBase
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
'Declaration
Public MustInherit Class Adapter _
Implements IDisposable
'Usage
Dim instance As Adapter
public abstract class Adapter : IDisposable
public ref class Adapter abstract : IDisposable
[<AbstractClassAttribute>]
type Adapter =
class
interface IDisposable
end
public abstract class Adapter implements IDisposable
The Adapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Adapter | Initializes a new instance of the Adapter class. |
Top
Properties
Name | Description | |
---|---|---|
AdapterState | Gets the state of the adapter. |
Top
Methods
Name | Description | |
---|---|---|
CleanupResources | Internal virtual function that does cleanup of resources. To be overridden by the input and output adapter base classes. | |
Dispose() | Releases all of the resources owned by the adapter host. | |
Dispose(Boolean) | Implements the Dispose pattern. To be overridden by derived classes | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnStopped | This 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. | |
Ready | Invoked 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(). | |
Resume | Calls Resume() on its own worker thread. | |
Start | Calls Start() on its own worker thread. | |
Stop | Notifies the adapter to stop as a result of stopping or aborting the query. | |
Stopped | Invoked by the adapter to notify the runtime that the adapter has shut down. | |
ToString | (Inherited from Object.) |
Top
Remarks
For more information, see Creating Input and Output Adapters.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.