C# Class TrinityCore_Manager.Clients.TCPClient

Inheritance: TrinityCore_Manager.TCM.TCMClient, IDisposable
Afficher le fichier Open project: TrinityCore-Manager/TrinityCore-Manager-v3

Méthodes publiques

Méthode Description
Connect ( ) : void

Connect To Server

Disconnect ( ) : void

Disconnect from server

Dispose ( ) : void
Dispose ( bool disposing ) : void
Send ( string message ) : System.Threading.Tasks.Task

Send a message to the server

SendMessage ( string message ) : System.Threading.Tasks.Task
Start ( ) : void
Stop ( ) : void
TCPClient ( string host, int port ) : System

Private Methods

Méthode Description
Connected ( IAsyncResult iar ) : void
ProcessReceive ( int read ) : void
Receive ( IAsyncResult iar ) : void
Send ( IAsyncResult iar ) : void

Method Details

Connect() public méthode

Connect To Server
public Connect ( ) : void
Résultat void

Disconnect() public méthode

Disconnect from server
public Disconnect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( bool disposing ) : void
disposing bool
Résultat void

Send() public méthode

Send a message to the server
public Send ( string message ) : System.Threading.Tasks.Task
message string The message to send
Résultat System.Threading.Tasks.Task

SendMessage() public méthode

public SendMessage ( string message ) : System.Threading.Tasks.Task
message string
Résultat System.Threading.Tasks.Task

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TCPClient() public méthode

public TCPClient ( string host, int port ) : System
host string
port int
Résultat System