C# 클래스 GSF.TimeSeries.Adapters.IaonSession

Represents a new Input, Action, Output interface session.
상속: IProvideStatus, IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
ConfigurationChangedHandler ( object sender, EventArgs e ) : void

Event handler for adapter notifications about configuration changes.

Dispose ( ) : void

Releases all the resources used by the IaonSession object.

DisposedHandler ( object sender, EventArgs e ) : void

Event handler for disposed events from all adapters.

GetDerivedName ( object sender ) : string

Gets derived name of specified object.

IaonSession ( ) : System

Creates a new IaonSession.

Initialize ( bool autoStart = true ) : void

Initialize and start adapters.

InputMeasurementKeysUpdatedHandler ( object sender, EventArgs e ) : void

Event handler for updates to adapter input measurement key definitions.

OutputMeasurementsUpdatedHandler ( object sender, EventArgs e ) : void

Event handler for updates to adapter output measurement definitions.

ProcessExceptionHandler ( object sender, EventArgs e ) : void

Event handler for processing reported exceptions.

ProcessingCompleteHandler ( object sender, EventArgs e ) : void

Event handler for processing complete notifications from input adapters.

RecalculateRoutingTables ( ) : void

Recalculates routing tables as long as all adapters have been initialized.

RequestTemporalSupportHandler ( object sender, EventArgs e ) : void

Event handler for requesting temporal support.

Action adapter collections use this handler to make sure temporal support is initialized before setting up temporal sessions.

StatusMessageHandler ( object sender, EventArgs e ) : void

Event handler for reporting status messages.

TemporalProcessingSupportExists ( string collection = null ) : bool

Gets flag that determines if temporal processing is supported in this IaonSession.

UnprocessedMeasurementsHandler ( object sender, EventArgs e ) : void

Event handler for monitoring unprocessed measurements.

Time-series framework uses this handler to monitor the number of unprocessed measurements in output adapters.
This method is typically called once every five seconds.

UnpublishedSamplesHandler ( object sender, EventArgs e ) : void

Event handler for monitoring unpublished samples.

Time-series framework uses this handler to monitor the number of unpublished samples, in seconds of data, in action adapters.
This method is typically called once every five seconds.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the IaonSession object and optionally releases the managed resources.

OnConfigurationChanged ( object sender ) : void

Raises ConfigurationChanged event.

OnDisposed ( object sender ) : void

Raises the Disposed event.

OnInputMeasurementKeysUpdated ( object sender ) : void

Raises InputMeasurementKeysUpdated event.

OnOutputMeasurementsUpdated ( object sender ) : void

Raises OutputMeasurementsUpdated event.

OnProcessException ( object sender, Exception ex ) : void

Raises ProcessException event.

OnProcessingComplete ( object sender, EventArgs e = null ) : void

Raises the ProcessingComplete event.

OnStatusMessage ( object sender, string status, UpdateType type = UpdateType.Information ) : void

Raises the StatusMessage event.

OnUnprocessedMeasurements ( object sender, int unprocessedMeasurements ) : void

Raises the UnprocessedMeasurements event.

OnUnpublishedSamples ( object sender, int seconds ) : void

Raises the UnpublishedSamples event.

비공개 메소드들

메소드 설명
ExtractTemporalConfiguration ( DataSet realtimeConfiguration ) : DataSet
m_routingTables_ProcessException ( object sender, EventArgs e ) : void
m_routingTables_StatusMessage ( object sender, EventArgs e ) : void

메소드 상세

ConfigurationChangedHandler() 공개 메소드

Event handler for adapter notifications about configuration changes.
public ConfigurationChangedHandler ( object sender, EventArgs e ) : void
sender object Sending object.
e System.EventArgs Event arguments, if any.
리턴 void

Dispose() 공개 메소드

Releases all the resources used by the IaonSession object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the IaonSession object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

DisposedHandler() 공개 메소드

Event handler for disposed events from all adapters.
public DisposedHandler ( object sender, EventArgs e ) : void
sender object Sending object.
e System.EventArgs Event arguments, if any.
리턴 void

GetDerivedName() 공개 메소드

Gets derived name of specified object.
public GetDerivedName ( object sender ) : string
sender object Sending object from which to derive name.
리턴 string

IaonSession() 공개 메소드

Creates a new IaonSession.
public IaonSession ( ) : System
리턴 System

Initialize() 공개 메소드

Initialize and start adapters.
public Initialize ( bool autoStart = true ) : void
autoStart bool Sets flag that determines if adapters should be automatically started.
리턴 void

InputMeasurementKeysUpdatedHandler() 공개 메소드

Event handler for updates to adapter input measurement key definitions.
public InputMeasurementKeysUpdatedHandler ( object sender, EventArgs e ) : void
sender object Sending object.
e System.EventArgs Event arguments, if any.
리턴 void

OnConfigurationChanged() 보호된 메소드

Raises ConfigurationChanged event.
protected OnConfigurationChanged ( object sender ) : void
sender object Object source raising the event.
리턴 void

OnDisposed() 보호된 메소드

Raises the Disposed event.
protected OnDisposed ( object sender ) : void
sender object Object source raising the event.
리턴 void

OnInputMeasurementKeysUpdated() 보호된 메소드

Raises InputMeasurementKeysUpdated event.
protected OnInputMeasurementKeysUpdated ( object sender ) : void
sender object Object source raising the event.
리턴 void

OnOutputMeasurementsUpdated() 보호된 메소드

Raises OutputMeasurementsUpdated event.
protected OnOutputMeasurementsUpdated ( object sender ) : void
sender object Object source raising the event.
리턴 void

OnProcessException() 보호된 메소드

Raises ProcessException event.
protected OnProcessException ( object sender, Exception ex ) : void
sender object Object source raising the event.
ex System.Exception Processing .
리턴 void

OnProcessingComplete() 보호된 메소드

Raises the ProcessingComplete event.
protected OnProcessingComplete ( object sender, EventArgs e = null ) : void
sender object Object source raising the event.
e System.EventArgs , if any.
리턴 void

OnStatusMessage() 보호된 메소드

Raises the StatusMessage event.
protected OnStatusMessage ( object sender, string status, UpdateType type = UpdateType.Information ) : void
sender object Object source raising the event.
status string New status message.
type UpdateType of status message.
리턴 void

OnUnprocessedMeasurements() 보호된 메소드

Raises the UnprocessedMeasurements event.
protected OnUnprocessedMeasurements ( object sender, int unprocessedMeasurements ) : void
sender object Object source raising the event.
unprocessedMeasurements int Total measurements in the queue that have not been processed.
리턴 void

OnUnpublishedSamples() 보호된 메소드

Raises the UnpublishedSamples event.
protected OnUnpublishedSamples ( object sender, int seconds ) : void
sender object Object source raising the event.
seconds int Total number of unpublished seconds of data.
리턴 void

OutputMeasurementsUpdatedHandler() 공개 메소드

Event handler for updates to adapter output measurement definitions.
public OutputMeasurementsUpdatedHandler ( object sender, EventArgs e ) : void
sender object Sending object.
e System.EventArgs Event arguments, if any.
리턴 void

ProcessExceptionHandler() 공개 메소드

Event handler for processing reported exceptions.
public ProcessExceptionHandler ( object sender, EventArgs e ) : void
sender object Event source of the exception.
e EventArgs Event arguments containing the exception to report.
리턴 void

ProcessingCompleteHandler() 공개 메소드

Event handler for processing complete notifications from input adapters.
public ProcessingCompleteHandler ( object sender, EventArgs e ) : void
sender object Event source reference to input adapter that is reporting processing completion.
e System.EventArgs Event arguments for event, if any; otherwise .
리턴 void

RecalculateRoutingTables() 공개 메소드

Recalculates routing tables as long as all adapters have been initialized.
public RecalculateRoutingTables ( ) : void
리턴 void

RequestTemporalSupportHandler() 공개 메소드

Event handler for requesting temporal support.
Action adapter collections use this handler to make sure temporal support is initialized before setting up temporal sessions.
public RequestTemporalSupportHandler ( object sender, EventArgs e ) : void
sender object Event source reference to adapter collection, typically an action adapter collection, that is requesting temporal support.
e System.EventArgs Event arguments are not used.
리턴 void

StatusMessageHandler() 공개 메소드

Event handler for reporting status messages.
public StatusMessageHandler ( object sender, EventArgs e ) : void
sender object Event source of the status message.
e EventArgs Event arguments containing the status message to report.
리턴 void

TemporalProcessingSupportExists() 공개 메소드

Gets flag that determines if temporal processing is supported in this IaonSession.
public TemporalProcessingSupportExists ( string collection = null ) : bool
collection string Name of collection over which to check support (e.g., "InputAdapters"); or null for all collections.
리턴 bool

UnprocessedMeasurementsHandler() 공개 메소드

Event handler for monitoring unprocessed measurements.
Time-series framework uses this handler to monitor the number of unprocessed measurements in output adapters.
This method is typically called once every five seconds.
public UnprocessedMeasurementsHandler ( object sender, EventArgs e ) : void
sender object Event source reference to adapter, typically an output adapter, that is reporting the number of unprocessed measurements.
e EventArgs Event arguments containing number of queued (i.e., unprocessed) measurements in the source adapter.
리턴 void

UnpublishedSamplesHandler() 공개 메소드

Event handler for monitoring unpublished samples.
Time-series framework uses this handler to monitor the number of unpublished samples, in seconds of data, in action adapters.
This method is typically called once every five seconds.
public UnpublishedSamplesHandler ( object sender, EventArgs e ) : void
sender object Event source reference to adapter, typically an action adapter, that is reporting the number of unpublished data samples.
e EventArgs Event arguments containing number of samples, in seconds of data, of unpublished data in the source adapter.
리턴 void