C# Class GSF.TimeSeries.Adapters.RouteMappingHighLatencyLowCpu

Inheritance: IRouteMappingTables
Datei anzeigen Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
Initialize ( Action onStatusMessage, Action onProcessException ) : void

Assigns the status messaging callbacks.

InjectMeasurements ( object sender, EventArgs measurements ) : void

This method will directly inject measurements into the routing table and use a shared local input adapter. For contention reasons, it is not recommended this be its default use case, but it is necessary at times.

PatchRoutingTable ( GSF.TimeSeries.Adapters.RoutingTablesAdaptersList producerAdapters, GSF.TimeSeries.Adapters.RoutingTablesAdaptersList consumerAdapters ) : void

Patches the existing routing table with the supplied adapters.

RouteMappingHighLatencyLowCpu ( ) : System

Creates a RouteMappingHighLatencyLowCpu

Private Methods

Method Description
Route ( List measurements ) : void
Route ( object sender, EventArgs measurements ) : void
m_task_Disposing ( object sender, EventArgs e ) : void
m_task_Running ( object sender, EventArgs e ) : void
m_task_UnhandledException ( object sender, EventArgs e ) : void

Method Details

Initialize() public method

Assigns the status messaging callbacks.
public Initialize ( Action onStatusMessage, Action onProcessException ) : void
onStatusMessage Action Raise status messages on this callback
onProcessException Action Raise exceptions on this callback
return void

InjectMeasurements() public method

This method will directly inject measurements into the routing table and use a shared local input adapter. For contention reasons, it is not recommended this be its default use case, but it is necessary at times.
public InjectMeasurements ( object sender, EventArgs measurements ) : void
sender object the sender object
measurements EventArgs the event arguments
return void

PatchRoutingTable() public method

Patches the existing routing table with the supplied adapters.
public PatchRoutingTable ( GSF.TimeSeries.Adapters.RoutingTablesAdaptersList producerAdapters, GSF.TimeSeries.Adapters.RoutingTablesAdaptersList consumerAdapters ) : void
producerAdapters GSF.TimeSeries.Adapters.RoutingTablesAdaptersList all of the producers
consumerAdapters GSF.TimeSeries.Adapters.RoutingTablesAdaptersList all of the consumers
return void

RouteMappingHighLatencyLowCpu() public method

Creates a RouteMappingHighLatencyLowCpu
public RouteMappingHighLatencyLowCpu ( ) : System
return System