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

Inheritance: ITcpServer
Afficher le fichier Open project: continuoustests/EditorEngine Class Usage Examples

Méthodes publiques

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

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

public Dispose ( ) : void
Résultat void

Send() public méthode

public Send ( string message ) : void
message string
Résultat void

Send() public méthode

public Send ( string message, System.Guid clientID ) : void
message string
clientID System.Guid
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Start() public méthode

public Start ( int port ) : void
port int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TcpServer() public méthode

public TcpServer ( ) : System
Résultat System

TcpServer() public méthode

public TcpServer ( string messageTermination ) : System
messageTermination string
Résultat System