C# Class EditorEngine.Core.Endpoints.Tcp.TcpServer

Inheritance: ITcpServer
Mostrar archivo Open project: continuoustests/EditorEngine Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Send ( string message ) : void
Send ( string message, System.Guid clientID ) : void
Start ( ) : void
Start ( int port ) : void
Stop ( ) : void
TcpServer ( ) : System
TcpServer ( string messageTermination ) : System

Private Methods

Method Description
AcceptCallback ( IAsyncResult result ) : void
ReadCompleted ( IAsyncResult result ) : void
SendToClients ( byte data ) : void
WriteCompleted ( IAsyncResult result ) : void
cleanupClients ( ) : void
disconnect ( Client stream ) : void
isEndOfMessage ( int index ) : bool
sendToClient ( byte data, Client client ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Send() public method

public Send ( string message ) : void
message string
return void

Send() public method

public Send ( string message, System.Guid clientID ) : void
message string
clientID System.Guid
return void

Start() public method

public Start ( ) : void
return void

Start() public method

public Start ( int port ) : void
port int
return void

Stop() public method

public Stop ( ) : void
return void

TcpServer() public method

public TcpServer ( ) : System
return System

TcpServer() public method

public TcpServer ( string messageTermination ) : System
messageTermination string
return System