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

'Declaration
Public MustInherit Class TypedInputAdapter(Of TEvent As TypedEvent(Of TPayload), TPayload) _
    Inherits InputAdapterBase
'Usage
Dim instance As TypedInputAdapter(Of TEvent, TPayload)
public abstract class TypedInputAdapter<TEvent, TPayload> : InputAdapterBase
where TEvent : TypedEvent<TPayload>
generic<typename TEvent, typename TPayload>
where TEvent : TypedEvent<TPayload>
public ref class TypedInputAdapter abstract : public InputAdapterBase
[<AbstractClassAttribute>]
type TypedInputAdapter<'TEvent, 'TPayload when 'TEvent : TypedEvent<'TPayload>> =  
    class
        inherit InputAdapterBase
    end
JScript does not support generic types and methods.

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
Public method TypedInputAdapter<TEvent, TPayload> Initializes a new instance of the TypedInputAdapter<TEvent, 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 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 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.
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