C# Class SimRobotServer.AsynchronousSocketListener

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

Méthodes publiques

Свойство Type Description
allDone System.Threading.ManualResetEvent

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AcceptCallback ( IAsyncResult ar ) : void
ar IAsyncResult
Résultat void

AsynchronousSocketListener() public méthode

public AsynchronousSocketListener ( Schemas status, HandleNewCommandDelegate handleNewCommand, int port ) : System
status Schemas
handleNewCommand HandleNewCommandDelegate
port int
Résultat System

ReadCallback() public méthode

public ReadCallback ( IAsyncResult ar ) : void
ar IAsyncResult
Résultat void

StartListening() public méthode

public StartListening ( ) : void
Résultat void

parseContent() public méthode

public parseContent ( String content, String ender, Socket handler, StateObject state ) : void
content String
ender String
handler Socket
state StateObject
Résultat void

Property Details

allDone public_oe property

public ManualResetEvent,System.Threading allDone
Résultat System.Threading.ManualResetEvent