C# Class EditorClient.Client

Inheritance: IDisposable
Afficher le fichier Open project: continuoustests/EditorEngine Class Usage Examples

Méthodes publiques

Méthode Description
Client ( ) : System
Connect ( int port, Action onMessage ) : void
Disconnect ( ) : void
Dispose ( ) : void
Request ( string message ) : string
Send ( string message ) : void
SendAndWait ( string message ) : void

Private Methods

Méthode Description
Connect ( int port, int retryCount ) : void
ReadCompleted ( IAsyncResult result ) : void
Reconnect ( int retryCount ) : void
SendFromQueue ( ) : void
WriteCompleted ( IAsyncResult result ) : void
WriteError ( Exception ex ) : void

Method Details

Client() public méthode

public Client ( ) : System
Résultat System

Connect() public méthode

public Connect ( int port, Action onMessage ) : void
port int
onMessage Action
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Request() public méthode

public Request ( string message ) : string
message string
Résultat string

Send() public méthode

public Send ( string message ) : void
message string
Résultat void

SendAndWait() public méthode

public SendAndWait ( string message ) : void
message string
Résultat void