C# Class cs_elbot.TCPWrapper

description of TCPWrapper.
Afficher le fichier Open project: Sir-Odie/CS-ELBot Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoReconnect bool
HostIp System.Net.IPAddress
Port int

Méthodes publiques

Méthode Description
DisconnectFromServer ( ) : void
ReconnectToServer ( ) : void
Send ( byte data ) : int
TCPWrapper ( TCPClient TheTCPClient, Logger MyLogger ) : System

Méthodes protégées

Méthode Description
OnGotConnected ( EventArgs e ) : void
OnGotDisconnected ( EventArgs e ) : void

Private Methods

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

Method Details

DisconnectFromServer() public méthode

public DisconnectFromServer ( ) : void
Résultat void

OnGotConnected() protected méthode

protected OnGotConnected ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnGotDisconnected() protected méthode

protected OnGotDisconnected ( EventArgs e ) : void
e System.EventArgs
Résultat void

ReconnectToServer() public méthode

public ReconnectToServer ( ) : void
Résultat void

Send() public méthode

public Send ( byte data ) : int
data byte
Résultat int

TCPWrapper() public méthode

public TCPWrapper ( TCPClient TheTCPClient, Logger MyLogger ) : System
TheTCPClient TCPClient
MyLogger Logger
Résultat System

Property Details

AutoReconnect public_oe property

public bool AutoReconnect
Résultat bool

HostIp public_oe property

public System.Net.IPAddress HostIp
Résultat System.Net.IPAddress

Port public_oe property

public int Port
Résultat int