C# Class SteamKit2.Connection

Afficher le fichier Open project: Top-Cat/SteamBot Class Usage Examples

Méthodes publiques

Méthode Description
Connect ( IPEndPoint endPoint ) : void

Connects to the specified end point.

Disconnect ( ) : void

Disconnects this instance.

GetLocalIP ( ) : IPAddress

Gets the local IP.

Send ( IClientMsg clientMsg ) : void

Sends the specified client net message.

Méthodes protégées

Méthode Description
OnConnected ( EventArgs e ) : void
OnDisconnected ( EventArgs e ) : void
OnNetMsgReceived ( NetMsgEventArgs e ) : void

Raises the E:NetMsgReceived event.

Method Details

Connect() public abstract méthode

Connects to the specified end point.
public abstract Connect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint The end point.
Résultat void

Disconnect() public abstract méthode

Disconnects this instance.
public abstract Disconnect ( ) : void
Résultat void

GetLocalIP() public abstract méthode

Gets the local IP.
public abstract GetLocalIP ( ) : IPAddress
Résultat System.Net.IPAddress

OnConnected() protected méthode

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

OnDisconnected() protected méthode

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

OnNetMsgReceived() protected méthode

Raises the E:NetMsgReceived event.
protected OnNetMsgReceived ( NetMsgEventArgs e ) : void
e NetMsgEventArgs The instance containing the event data.
Résultat void

Send() public abstract méthode

Sends the specified client net message.
public abstract Send ( IClientMsg clientMsg ) : void
clientMsg IClientMsg The client net message.
Résultat void