C# 클래스 GSF.TimeSeries.Transport.UnsynchronizedClientSubscription

Represents an unsynchronized client subscription to the DataPublisher.
상속: GSF.TimeSeries.Adapters.FacileActionAdapterBase, IClientSubscription
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
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