C# 클래스 Tempest.Providers.Network.NetworkClientConnection

상속: NetworkConnection, IClientConnection
파일 보기 프로젝트 열기: ermau/Tempest 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConnectCompleted void
GetConnectFromError ConnectionResult
OnActivityTimer void
OnConnected void
OnConnectionFailed void

공개 메소드들

메소드 설명
ConnectAsync ( Target target, MessageTypes messageTypes ) : Task
NetworkClientConnection ( IEnumerable protocols ) : System
NetworkClientConnection ( IEnumerable protocols, RSAAsymmetricKey authKey ) : System
NetworkClientConnection ( Protocol protocol ) : System
NetworkClientConnection ( Protocol protocol, RSAAsymmetricKey authKey ) : System

보호된 메소드들

메소드 설명
OnDisconnected ( DisconnectedEventArgs e ) : void
OnTempestMessageReceived ( MessageEventArgs e ) : void
Recycle ( ) : void

비공개 메소드들

메소드 설명
ConnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
GetConnectFromError ( SocketError error ) : ConnectionResult
OnActivityTimer ( object sender, EventArgs e ) : void
OnConnected ( ClientConnectionEventArgs e ) : void
OnConnectionFailed ( ClientConnectionEventArgs e ) : void

메소드 상세

ConnectAsync() 공개 메소드

public ConnectAsync ( Target target, MessageTypes messageTypes ) : Task
target Target
messageTypes MessageTypes
리턴 Task

NetworkClientConnection() 공개 메소드

public NetworkClientConnection ( IEnumerable protocols ) : System
protocols IEnumerable
리턴 System

NetworkClientConnection() 공개 메소드

public NetworkClientConnection ( IEnumerable protocols, RSAAsymmetricKey authKey ) : System
protocols IEnumerable
authKey RSAAsymmetricKey
리턴 System

NetworkClientConnection() 공개 메소드

public NetworkClientConnection ( Protocol protocol ) : System
protocol Protocol
리턴 System

NetworkClientConnection() 공개 메소드

public NetworkClientConnection ( Protocol protocol, RSAAsymmetricKey authKey ) : System
protocol Protocol
authKey RSAAsymmetricKey
리턴 System

OnDisconnected() 보호된 메소드

protected OnDisconnected ( DisconnectedEventArgs e ) : void
e DisconnectedEventArgs
리턴 void

OnTempestMessageReceived() 보호된 메소드

protected OnTempestMessageReceived ( MessageEventArgs e ) : void
e MessageEventArgs
리턴 void

Recycle() 보호된 메소드

protected Recycle ( ) : void
리턴 void