C# Class BF2Statistics.Gamespy.ServerListRetrieveSocket

This class emulates the master.gamespy.com TCP server on port 28910. This server is responisible for sending server lists to the online server browser in the BF2 multiplayer menu
Inheritance: BF2Statistics.Gamespy.Net.GamespyTcpSocket
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Méthode Description
ServerListRetrieveSocket ( ) : System
Shutdown ( ) : void

Shutsdown the underlying sockets

Méthodes protégées

Méthode Description
ProcessAccept ( GamespyTcpStream Stream ) : void

Accepts a TcpClient, and begin the serverlist fetching process for the client. This method is executed when the user updates his server browser ingame

Private Methods

Méthode Description
MasterClient_OnDisconnect ( MasterClient client ) : void

Callback for when a connection had disconnected

Method Details

ProcessAccept() protected méthode

Accepts a TcpClient, and begin the serverlist fetching process for the client. This method is executed when the user updates his server browser ingame
protected ProcessAccept ( GamespyTcpStream Stream ) : void
Stream BF2Statistics.Gamespy.Net.GamespyTcpStream
Résultat void

ServerListRetrieveSocket() public méthode

public ServerListRetrieveSocket ( ) : System
Résultat System

Shutdown() public méthode

Shutsdown the underlying sockets
public Shutdown ( ) : void
Résultat void