C# 클래스 cs_elbot.TCPWrapper

description of TCPWrapper.
파일 보기 프로젝트 열기: Sir-Odie/CS-ELBot 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutoReconnect bool
HostIp System.Net.IPAddress
Port int

공개 메소드들

메소드 설명
DisconnectFromServer ( ) : void
ReconnectToServer ( ) : void
Send ( byte data ) : int
TCPWrapper ( TCPClient TheTCPClient, Logger MyLogger ) : System

보호된 메소드들

메소드 설명
OnGotConnected ( EventArgs e ) : void
OnGotDisconnected ( EventArgs e ) : void

비공개 메소드들

메소드 설명
ConnectToServer ( ) : bool
GotData ( object Sender, TCPClient e ) : void
GotServerConnected ( object Sender, System e ) : void
GotServerDisconnected ( object Sender, EventArgs e ) : void
OnGotCommand ( GotCommandEventArgs e ) : void
OnSentCommand ( SentCommandEventArgs e ) : void

메소드 상세

DisconnectFromServer() 공개 메소드

public DisconnectFromServer ( ) : void
리턴 void

OnGotConnected() 보호된 메소드

protected OnGotConnected ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnGotDisconnected() 보호된 메소드

protected OnGotDisconnected ( EventArgs e ) : void
e System.EventArgs
리턴 void

ReconnectToServer() 공개 메소드

public ReconnectToServer ( ) : void
리턴 void

Send() 공개 메소드

public Send ( byte data ) : int
data byte
리턴 int

TCPWrapper() 공개 메소드

public TCPWrapper ( TCPClient TheTCPClient, Logger MyLogger ) : System
TheTCPClient TCPClient
MyLogger Logger
리턴 System

프로퍼티 상세

AutoReconnect 공개적으로 프로퍼티

public bool AutoReconnect
리턴 bool

HostIp 공개적으로 프로퍼티

public System.Net.IPAddress HostIp
리턴 System.Net.IPAddress

Port 공개적으로 프로퍼티

public int Port
리턴 int