C# Class ConsoleClient.AsynchronousClient

显示文件 Open project: usnistgov/crcl Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public AsynchronousClient ( String host, int port, UpdateStatusDelegate updateStatus, bool debug ) : System
host String
port int
updateStatus UpdateStatusDelegate
debug bool
return System

Close() public method

public Close ( ) : void
return void

Send() public method

public Send ( String data ) : void
data String
return void

StartClient() public method

public StartClient ( ) : void
return void

sendDoneWaitOne() public method

public sendDoneWaitOne ( ) : void
return void