C# Class ConsoleClient.AsynchronousClient

Afficher le fichier Open project: usnistgov/crcl Class Usage Examples

Méthodes publiques

Méthode Description
AsynchronousClient ( String host, int port, UpdateStatusDelegate updateStatus, bool debug ) : System
Close ( ) : void
Send ( String data ) : void
StartClient ( ) : void
sendDoneWaitOne ( ) : void

Private Methods

Méthode Description
ConnectCallback ( IAsyncResult ar ) : void
Receive ( Socket client ) : void
ReceiveCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void
parseContent ( StateObject state ) : void

Method Details

AsynchronousClient() public méthode

public AsynchronousClient ( String host, int port, UpdateStatusDelegate updateStatus, bool debug ) : System
host String
port int
updateStatus UpdateStatusDelegate
debug bool
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Send() public méthode

public Send ( String data ) : void
data String
Résultat void

StartClient() public méthode

public StartClient ( ) : void
Résultat void

sendDoneWaitOne() public méthode

public sendDoneWaitOne ( ) : void
Résultat void