C# Class SimRobotServer.AsynchronousSocketListener

Show file Open project: usnistgov/crcl Class Usage Examples

Public Properties

Property Type Description
allDone System.Threading.ManualResetEvent

Public Methods

Method Description
AcceptCallback ( IAsyncResult ar ) : void
AsynchronousSocketListener ( Schemas status, HandleNewCommandDelegate handleNewCommand, int port ) : System
ReadCallback ( IAsyncResult ar ) : void
StartListening ( ) : void
parseContent ( String content, String ender, Socket handler, StateObject state ) : void

Private Methods

Method Description
Send ( Socket handler, String data ) : void
SendAndClose ( Socket handler, String data ) : void
SendAndCloseCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void

Method Details

AcceptCallback() public method

public AcceptCallback ( IAsyncResult ar ) : void
ar IAsyncResult
return void

AsynchronousSocketListener() public method

public AsynchronousSocketListener ( Schemas status, HandleNewCommandDelegate handleNewCommand, int port ) : System
status Schemas
handleNewCommand HandleNewCommandDelegate
port int
return System

ReadCallback() public method

public ReadCallback ( IAsyncResult ar ) : void
ar IAsyncResult
return void

StartListening() public method

public StartListening ( ) : void
return void

parseContent() public method

public parseContent ( String content, String ender, Socket handler, StateObject state ) : void
content String
ender String
handler Socket
state StateObject
return void

Property Details

allDone public property

public ManualResetEvent,System.Threading allDone
return System.Threading.ManualResetEvent