TypedOutputAdapter<TEvent, TPayload> Class

 

Represents the base class for a typed output adapter.

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

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.Adapters.Adapter
    Microsoft.ComplexEventProcessing.Adapters.OutputAdapterBase
      Microsoft.ComplexEventProcessing.Adapters.TypedOutputAdapter<TEvent, TPayload>
        Microsoft.ComplexEventProcessing.Adapters.TypedEdgeOutputAdapter<TPayload>
        Microsoft.ComplexEventProcessing.Adapters.TypedIntervalOutputAdapter<TPayload>
        Microsoft.ComplexEventProcessing.Adapters.TypedPointOutputAdapter<TPayload>

Syntax

public abstract class TypedOutputAdapter<TEvent, TPayload> : OutputAdapterBase
where TEvent : TypedEvent<TPayload>
generic<typename TEvent, typename TPayload>
where TEvent : TypedEvent<TPayload>
public ref class TypedOutputAdapter abstract : OutputAdapterBase
[<AbstractClass>]
type TypedOutputAdapter<'TEvent, 'TPayload when 'TEvent : TypedEvent<'TPayload>> = 
    class
        inherit OutputAdapterBase
    end
Public MustInherit Class TypedOutputAdapter(Of TEvent As TypedEvent(Of TPayload), TPayload)
    Inherits OutputAdapterBase

Type Parameters

  • TEvent
    Event type.
  • TPayload
    Payload type.

Constructors

Name Description
System_CAPS_protmethod TypedOutputAdapter<TEvent, TPayload>()

Initializes a new instance of the TypedOutputAdapter<TEvent, TPayload> class.

Properties

Name Description
System_CAPS_pubproperty AdapterState

Gets the state of the adapter.(Inherited from Adapter.)

System_CAPS_pubproperty OutputEventType

Gets the event type that the output adapter will receive.(Inherited from OutputAdapterBase.)

Methods

Name Description
System_CAPS_protmethod CleanupResources()

Cleans up engine resources that are used by the adapter host.(Inherited from OutputAdapterBase.)

System_CAPS_pubmethod Dispose()

Releases all of the resources owned by the adapter host.(Inherited from Adapter.)

System_CAPS_protmethod Dispose(Boolean)

Implements the Dispose pattern. To be overridden by derived classes.(Inherited from Adapter.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnStopped()

This function is called when the adapter invokes Stopped() to stop itself.(Inherited from OutputAdapterBase.)

System_CAPS_pubmethod 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.)

System_CAPS_pubmethod ReleaseEvent(TEvent)

Releases the memory occupied by an event.

System_CAPS_pubmethod Resume()

Calls Resume() on its own worker thread.(Inherited from Adapter.)

System_CAPS_pubmethod Start()

Calls Start() on its own worker thread.(Inherited from Adapter.)

System_CAPS_pubmethod Stop()

Notifies the adapter to stop as a result of stopping or aborting the query.(Inherited from Adapter.)

System_CAPS_pubmethod Stopped()

Invoked by the adapter to notify the runtime that the adapter has shut down.(Inherited from Adapter.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.ComplexEventProcessing.Adapters Namespace

Return to top