C# Class BF2Statistics.Gamespy.GpspServer

This class emulates the Gamespy Search Provider Server on port 29901. This server is responsible for fetching all associates accounts with the provided email and password, as well as verifying a player account ID.
Inheritance: BF2Statistics.Gamespy.Net.GamespyTcpSocket
ファイルを表示 Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Methods

Method Description
GpspServer ( ) : System
Shutdown ( ) : void

Shutsdown the GPSP server and socket

Protected Methods

Method Description
ProcessAccept ( GamespyTcpStream Stream ) : void

When a new connection is established, we the parent class are responsible for handling the processing

Private Methods

Method Description
GpspClient_OnDisconnect ( GpspClient client ) : void

Callback for when a connection had disconnected

Method Details

GpspServer() public method

public GpspServer ( ) : System
return System

ProcessAccept() protected method

When a new connection is established, we the parent class are responsible for handling the processing
protected ProcessAccept ( GamespyTcpStream Stream ) : void
Stream BF2Statistics.Gamespy.Net.GamespyTcpStream A GamespyTcpStream object that wraps the I/O AsyncEventArgs and socket
return void

Shutdown() public method

Shutsdown the GPSP server and socket
public Shutdown ( ) : void
return void