C# 클래스 TrinityCore_Manager.Clients.TCPClient

상속: TrinityCore_Manager.TCM.TCMClient, IDisposable
파일 보기 프로젝트 열기: TrinityCore-Manager/TrinityCore-Manager-v3

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Connected ( IAsyncResult iar ) : void
ProcessReceive ( int read ) : void
Receive ( IAsyncResult iar ) : void
Send ( IAsyncResult iar ) : void

메소드 상세

Connect() 공개 메소드

Connect To Server
public Connect ( ) : void
리턴 void

Disconnect() 공개 메소드

Disconnect from server
public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( bool disposing ) : void
disposing bool
리턴 void

Send() 공개 메소드

Send a message to the server
public Send ( string message ) : System.Threading.Tasks.Task
message string The message to send
리턴 System.Threading.Tasks.Task

SendMessage() 공개 메소드

public SendMessage ( string message ) : System.Threading.Tasks.Task
message string
리턴 System.Threading.Tasks.Task

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

TCPClient() 공개 메소드

public TCPClient ( string host, int port ) : System
host string
port int
리턴 System