C# Класс GSF.TimeSeries.Transport.UnsynchronizedClientSubscription

Represents an unsynchronized client subscription to the DataPublisher.
Наследование: GSF.TimeSeries.Adapters.FacileActionAdapterBase, IClientSubscription
Показать файл Открыть проект

Открытые методы

Метод Описание
ConfirmBufferBlock ( uint sequenceNumber ) : void

Handles the confirmation message received from the subscriber to indicate that a buffer block was received.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this UnsynchronizedClientSubscription.

IClientSubscription ( MessageLevel level, Exception ex, string eventName, MessageFlags flags ) : void
IClientSubscription ( MessageLevel level, string status, string eventName, MessageFlags flags ) : void
IClientSubscription ( object sender, EventArgs e ) : void
Initialize ( ) : void

Initializes UnsynchronizedClientSubscription.

QueueMeasurementsForProcessing ( IEnumerable measurements ) : void

Queues a collection of measurements for processing.

Measurements are filtered against the defined InputMeasurementKeys so we override method so that dynamic updates to keys will be synchronized with filtering to prevent interference.

Start ( ) : void

Starts the UnsynchronizedClientSubscription or restarts it if it is already running.

Stop ( ) : void

Stops the UnsynchronizedClientSubscription.

UnsynchronizedClientSubscription ( DataPublisher parent, System.Guid clientID, System.Guid subscriberID, CompressionModes compressionModes ) : System

Creates a new UnsynchronizedClientSubscription.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Приватные методы

Метод Описание
BaseTimeRotationTimer_Elapsed ( object sender, EventArgs e ) : void
BufferBlockRetransmissionTimer_Elapsed ( object sender, EventArgs e ) : void
OnBufferBlockRetransmission ( ) : void
ProcessBinaryMeasurements ( IEnumerable measurements, bool useCompactMeasurementFormat, bool usePayloadCompression ) : void
ProcessMeasurements ( IEnumerable measurements ) : void
ProcessTSSCMeasurements ( IEnumerable measurements ) : void
RotateBaseTimes ( ) : void
SendTSSCPayload ( int count ) : void

Описание методов

ConfirmBufferBlock() публичный Метод

Handles the confirmation message received from the subscriber to indicate that a buffer block was received.
public ConfirmBufferBlock ( uint sequenceNumber ) : void
sequenceNumber uint The sequence number of the buffer block.
Результат void

Dispose() защищенный Метод

Releases the unmanaged resources used by the UnsynchronizedClientSubscription 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

GetShortStatus() публичный Метод

Gets a short one-line status of this UnsynchronizedClientSubscription.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
Результат string

IClientSubscription() публичный Метод

public IClientSubscription ( MessageLevel level, Exception ex, string eventName, MessageFlags flags ) : void
level MessageLevel
ex System.Exception
eventName string
flags MessageFlags
Результат void

IClientSubscription() публичный Метод

public IClientSubscription ( MessageLevel level, string status, string eventName, MessageFlags flags ) : void
level MessageLevel
status string
eventName string
flags MessageFlags
Результат void

IClientSubscription() публичный Метод

public IClientSubscription ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Initialize() публичный Метод

Initializes UnsynchronizedClientSubscription.
public Initialize ( ) : void
Результат void

QueueMeasurementsForProcessing() публичный Метод

Queues a collection of measurements for processing.
Measurements are filtered against the defined InputMeasurementKeys so we override method so that dynamic updates to keys will be synchronized with filtering to prevent interference.
public QueueMeasurementsForProcessing ( IEnumerable measurements ) : void
measurements IEnumerable Collection of measurements to queue for processing.
Результат void

Start() публичный Метод

Starts the UnsynchronizedClientSubscription or restarts it if it is already running.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops the UnsynchronizedClientSubscription.
public Stop ( ) : void
Результат void

UnsynchronizedClientSubscription() публичный Метод

Creates a new UnsynchronizedClientSubscription.
public UnsynchronizedClientSubscription ( DataPublisher parent, System.Guid clientID, System.Guid subscriberID, CompressionModes compressionModes ) : System
parent DataPublisher Reference to parent.
clientID System.Guid based client connection ID.
subscriberID System.Guid based subscriber ID.
compressionModes CompressionModes requested by client.
Результат System