C# Class withSIX.Play.Core.Games.Legacy.ServerQuery.SourceServerQuery

Inheritance: ServerQueryBase, IServerQuery, IEnableLogging
Mostra file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
SourceServerQuery ( ServerAddress address, string serverBrowserTag, IServerQueryParser parser ) : System
UpdateAsync ( ServerQueryState state ) : System.Threading.Tasks.Task

Private Methods

Method Description
CollectPacket ( byte reply, int pos ) : byte[]
Connect ( IPEndPoint e ) : UdpClient
FetchAsync ( ) : System.Threading.Tasks.Task
GetChallengeResponse ( byte b ) : Task
GetInfo ( ) : Task
GetPlayerRequestPacket ( IEnumerable challengeBytes ) : byte[]
GetPlayers ( ) : Task
GetRules ( ) : Task
GetRulesRequestPacket ( IEnumerable challengeBytes ) : byte[]
JoinPackets ( int id, byte total, bool bzipped ) : byte[]
ProcessAllPackets ( ) : System.Threading.Tasks.Task
ProcessPacketHeader ( byte reply ) : byte[]
ReceiveTillEnd ( ) : Task
SendPacket ( byte msg ) : System.Threading.Tasks.Task

Method Details

SourceServerQuery() public method

public SourceServerQuery ( ServerAddress address, string serverBrowserTag, IServerQueryParser parser ) : System
address ServerAddress
serverBrowserTag string
parser IServerQueryParser
return System

UpdateAsync() public method

public UpdateAsync ( ServerQueryState state ) : System.Threading.Tasks.Task
state ServerQueryState
return System.Threading.Tasks.Task