C# Class Tempest.Providers.Network.NetworkClientConnection

Inheritance: NetworkConnection, IClientConnection
Afficher le fichier Open project: ermau/Tempest Class Usage Examples

Private Properties

Свойство Type Description
ConnectCompleted void
GetConnectFromError ConnectionResult
OnActivityTimer void
OnConnected void
OnConnectionFailed void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnDisconnected ( DisconnectedEventArgs e ) : void
OnTempestMessageReceived ( MessageEventArgs e ) : void
Recycle ( ) : void

Private Methods

Méthode Description
ConnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
GetConnectFromError ( SocketError error ) : ConnectionResult
OnActivityTimer ( object sender, EventArgs e ) : void
OnConnected ( ClientConnectionEventArgs e ) : void
OnConnectionFailed ( ClientConnectionEventArgs e ) : void

Method Details

ConnectAsync() public méthode

public ConnectAsync ( Target target, MessageTypes messageTypes ) : Task
target Target
messageTypes MessageTypes
Résultat Task

NetworkClientConnection() public méthode

public NetworkClientConnection ( IEnumerable protocols ) : System
protocols IEnumerable
Résultat System

NetworkClientConnection() public méthode

public NetworkClientConnection ( IEnumerable protocols, RSAAsymmetricKey authKey ) : System
protocols IEnumerable
authKey RSAAsymmetricKey
Résultat System

NetworkClientConnection() public méthode

public NetworkClientConnection ( Protocol protocol ) : System
protocol Protocol
Résultat System

NetworkClientConnection() public méthode

public NetworkClientConnection ( Protocol protocol, RSAAsymmetricKey authKey ) : System
protocol Protocol
authKey RSAAsymmetricKey
Résultat System

OnDisconnected() protected méthode

protected OnDisconnected ( DisconnectedEventArgs e ) : void
e DisconnectedEventArgs
Résultat void

OnTempestMessageReceived() protected méthode

protected OnTempestMessageReceived ( MessageEventArgs e ) : void
e MessageEventArgs
Résultat void

Recycle() protected méthode

protected Recycle ( ) : void
Résultat void