C# Class Gwupe.Cloud.Communication.ConnectionMaintainer

Afficher le fichier Open project: gwupe/Gwupe Class Usage Examples

Méthodes publiques

Свойство Type Description
ConnectionCloseEvent System.Threading.AutoResetEvent
ConnectionOpenEvent System.Threading.AutoResetEvent
WakeupManager System.Threading.AutoResetEvent

Private Properties

Свойство Type Description
CloseConnection void
IsConnected bool

Méthodes publiques

Méthode Description
Connect ( Uri uri ) : void
ConnectionMaintainer ( String version, List destinations, List ports, X509Certificate2 cert ) : System
Disconnect ( ) : void
IsConnectionEstablished ( ) : bool
ManualBreak ( string reason ) : void
Ping ( ) : bool
Run ( ) : void

Méthodes protégées

Méthode Description
OnConnect ( EventArgs e ) : void
OnDisconnect ( EventArgs e ) : void

Private Methods

Méthode Description
CloseConnection ( int code, String reason ) : void
IsConnected ( ) : bool

Method Details

Connect() public méthode

public Connect ( Uri uri ) : void
uri System.Uri
Résultat void

ConnectionMaintainer() public méthode

public ConnectionMaintainer ( String version, List destinations, List ports, X509Certificate2 cert ) : System
version String
destinations List
ports List
cert System.Security.Cryptography.X509Certificates.X509Certificate2
Résultat System

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

IsConnectionEstablished() public méthode

public IsConnectionEstablished ( ) : bool
Résultat bool

ManualBreak() public méthode

public ManualBreak ( string reason ) : void
reason string
Résultat void

OnConnect() protected méthode

protected OnConnect ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnDisconnect() protected méthode

protected OnDisconnect ( EventArgs e ) : void
e System.EventArgs
Résultat void

Ping() public méthode

public Ping ( ) : bool
Résultat bool

Run() public méthode

public Run ( ) : void
Résultat void

Property Details

ConnectionCloseEvent public_oe property

public AutoResetEvent,System.Threading ConnectionCloseEvent
Résultat System.Threading.AutoResetEvent

ConnectionOpenEvent public_oe property

public AutoResetEvent,System.Threading ConnectionOpenEvent
Résultat System.Threading.AutoResetEvent

WakeupManager public_oe property

public AutoResetEvent,System.Threading WakeupManager
Résultat System.Threading.AutoResetEvent