Share via


TypedEdgeInputAdapter<TPayload> Class

Base class for an input adapter that produces edge events which have a payload structure.

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.Adapters.Adapter
    Microsoft.ComplexEventProcessing.Adapters.InputAdapterBase
      Microsoft.ComplexEventProcessing.Adapters.TypedInputAdapter<EdgeEvent<TPayload>, TPayload>
        Microsoft.ComplexEventProcessing.Adapters.TypedEdgeInputAdapter<TPayload>

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

Syntax

public abstract class TypedEdgeInputAdapter<TPayload> : TypedInputAdapter<EdgeEvent<TPayload>, TPayload>

Type Parameters

  • TPayload
    Payload structure for the edge events produced by this adapter.

The TypedEdgeInputAdapter<TPayload> type exposes the following members.

Constructors

  Name Description
Public method TypedEdgeInputAdapter<TPayload> Initializes a new instance of the TypedEdgeInputAdapter<TPayload> class.

Top

Properties

  Name Description
Public property AdapterState Gets the state of the adapter. (Inherited from Adapter.)

Top

Methods

  Name Description
Protected method CleanupResources Cleans up engine resources that are used by the adapter host. (Inherited from InputAdapterBase.)
Public method CreateInsertEvent Creates an edge Insert event.
Public method Dispose() Releases all of the resources owned by the adapter host. (Inherited from Adapter.)
Protected method Dispose(Boolean) Implements the Dispose pattern. To be overridden by derived classes (Inherited from Adapter.)
Public method Enqueue Enqueues the specified event into the stream that is associated with this adapter.
Public method EnqueueCtiEvent Enqueues a Current Time Increment (CTI) event. (Inherited from InputAdapterBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method 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.)
Public method 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.)
Public method ReleaseEvent Releases the memory occupied by an event. (Inherited from TypedInputAdapter<TEvent, TPayload>.)
Public method Resume Calls Resume() on its own worker thread. (Inherited from Adapter.)
Public method Start Calls Start() on its own worker thread. (Inherited from Adapter.)
Public method Stop Notifies the adapter to stop as a result of stopping or aborting the query. (Inherited from Adapter.)
Public method Stopped Invoked by the adapter to notify the runtime that the adapter has shut down. (Inherited from Adapter.)
Public method 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.

See Also

Reference

Microsoft.ComplexEventProcessing.Adapters Namespace