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

Represents a DataSubscriber client connection to the DataPublisher.
상속: IProvideStatus, IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
ClientConnection ( DataPublisher parent, System.Guid clientID, IServer commandChannel ) : System

Creates a new ClientConnection instance.

Dispose ( ) : void

Releases all the resources used by the ClientConnection object.

GetCommandChannelSocket ( ) : Socket

Gets the Socket instance used by this client connection to send and receive data over the command channel.

RotateCipherKeys ( ) : bool

Rotates or initializes the crypto keys for this ClientConnection.

보호된 메소드들

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

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

비공개 메소드들

메소드 설명
UpdateKeyIVs ( ) : void

Creates or updates cipher keys.

m_dataChannel_ClientConnectingException ( object sender, EventArgs e ) : void
m_dataChannel_SendClientDataException ( object sender, Exception>.EventArgs e ) : void
m_dataChannel_ServerStarted ( object sender, EventArgs e ) : void
m_dataChannel_ServerStopped ( object sender, EventArgs e ) : void
m_pingTimer_Elapsed ( object sender, EventArgs e ) : void
m_reconnectTimer_Elapsed ( object sender, EventArgs e ) : void

메소드 상세

ClientConnection() 공개 메소드

Creates a new ClientConnection instance.
public ClientConnection ( DataPublisher parent, System.Guid clientID, IServer commandChannel ) : System
parent DataPublisher Parent data publisher.
clientID System.Guid Client ID of associated connection.
commandChannel IServer command channel used to lookup connection information.
리턴 System

Dispose() 공개 메소드

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

Dispose() 보호된 메소드

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

GetCommandChannelSocket() 공개 메소드

Gets the Socket instance used by this client connection to send and receive data over the command channel.
public GetCommandChannelSocket ( ) : Socket
리턴 Socket

RotateCipherKeys() 공개 메소드

Rotates or initializes the crypto keys for this ClientConnection.
public RotateCipherKeys ( ) : bool
리턴 bool