C# Class GSF.TimeSeries.Adapters.RouteMappingHighLatencyLowCpu

Inheritance: IRouteMappingTables
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

InjectMeasurements() public méthode

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
Résultat void

PatchRoutingTable() public méthode

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
Résultat void

RouteMappingHighLatencyLowCpu() public méthode

Creates a RouteMappingHighLatencyLowCpu
public RouteMappingHighLatencyLowCpu ( ) : System
Résultat System