C# Class HistorianAdapters.RemoteOutputAdapter

Inheritance: GSF.TimeSeries.Adapters.OutputAdapterBase
Show file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
HistorianPublisher_ConnectionAttempt void
HistorianPublisher_ConnectionEstablished void
HistorianPublisher_ConnectionTerminated void
HistorianPublisher_ReceiveDataComplete void
HistorianPublisher_ReceiveDataException void
HistorianPublisher_SendDataException void
TransmitPacketType1 void
TransmitPacketType101 void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this RemoteOutputAdapter.

Initialize ( ) : void

Initializes this RemoteOutputAdapter.

RemoteOutputAdapter ( ) : System

Initializes a new instance of the RemoteOutputAdapter class.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to this RemoteOutputAdapter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this RemoteOutputAdapter.

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by this RemoteOutputAdapter and optionally releases the managed resources.

ProcessMeasurements ( IMeasurement measurements ) : void

Publishes measurements for archival.

Private Methods

Method Description
HistorianPublisher_ConnectionAttempt ( object sender, EventArgs e ) : void
HistorianPublisher_ConnectionEstablished ( object sender, EventArgs e ) : void
HistorianPublisher_ConnectionTerminated ( object sender, EventArgs e ) : void
HistorianPublisher_ReceiveDataComplete ( object sender, int>.EventArgs e ) : void
HistorianPublisher_ReceiveDataException ( object sender, EventArgs e ) : void
HistorianPublisher_SendDataException ( object sender, EventArgs e ) : void
TransmitPacketType1 ( IMeasurement measurements, int startIndex, int endIndex ) : void
TransmitPacketType101 ( IMeasurement measurements, int startIndex, int endIndex ) : void

Method Details

AttemptConnection() protected method

Attempts to connect to this RemoteOutputAdapter.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Attempts to disconnect from this RemoteOutputAdapter.
protected AttemptDisconnection ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by this RemoteOutputAdapter 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.
return void

GetShortStatus() public method

Gets a short one-line status of this RemoteOutputAdapter.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum length of the status message.
return string

Initialize() public method

Initializes this RemoteOutputAdapter.
Server is missing from the .
public Initialize ( ) : void
return void

ProcessMeasurements() protected method

Publishes measurements for archival.
Acknowledgment is not received from historian for published data.
protected ProcessMeasurements ( IMeasurement measurements ) : void
measurements IMeasurement Measurements to be archived.
return void

RemoteOutputAdapter() public method

Initializes a new instance of the RemoteOutputAdapter class.
public RemoteOutputAdapter ( ) : System
return System