TypedInputAdapter<TEvent, TPayload> Class
Base class for a typed input adapter.
Inheritance Hierarchy
System.Object
Microsoft.ComplexEventProcessing.Adapters.Adapter
Microsoft.ComplexEventProcessing.Adapters.InputAdapterBase
Microsoft.ComplexEventProcessing.Adapters.TypedInputAdapter<TEvent, TPayload>
Microsoft.ComplexEventProcessing.Adapters.TypedEdgeInputAdapter<TPayload>
Microsoft.ComplexEventProcessing.Adapters.TypedIntervalInputAdapter<TPayload>
Microsoft.ComplexEventProcessing.Adapters.TypedPointInputAdapter<TPayload>
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
public abstract class TypedInputAdapter<TEvent, TPayload> : InputAdapterBase
where TEvent : TypedEvent<TPayload>
Type Parameters
- TEvent
Event type produced by this adapter.
- TPayload
Payload structure for the events produced by this adapter.
The TypedInputAdapter<TEvent, TPayload> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TypedInputAdapter<TEvent, TPayload> | Initializes a new instance of the TypedInputAdapter<TEvent, TPayload> class. |
Top
Properties
Name | Description | |
---|---|---|
AdapterState | Gets the state of the adapter. (Inherited from Adapter.) |
Top
Methods
Name | Description | |
---|---|---|
CleanupResources | Cleans up engine resources that are used by the adapter host. (Inherited from InputAdapterBase.) | |
Dispose() | Releases all of the resources owned by the adapter host. (Inherited from Adapter.) | |
Dispose(Boolean) | Implements the Dispose pattern. To be overridden by derived classes (Inherited from Adapter.) | |
EnqueueCtiEvent | Enqueues a Current Time Increment (CTI) event. (Inherited from InputAdapterBase.) | |
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. Enqueue the EndOfStream event and detach from query instance. After this point, the plan manager is free to shut down the query independently of the adapter. (Inherited from InputAdapterBase.) | |
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(). (Inherited from Adapter.) | |
ReleaseEvent | Releases the memory occupied by an event. | |
Resume | Calls Resume() on its own worker thread. (Inherited from Adapter.) | |
Start | Calls Start() on its own worker thread. (Inherited from Adapter.) | |
Stop | Notifies the adapter to stop as a result of stopping or aborting the query. (Inherited from Adapter.) | |
Stopped | Invoked by the adapter to notify the runtime that the adapter has shut down. (Inherited from Adapter.) | |
ToString | (Inherited from Object.) |
Top
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.