C# 클래스 BF2Statistics.Gamespy.MasterClient

상속: IDisposable
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Dispose ( bool DisposeEventArgs = false ) : void

Dispose method to be called by the server

MasterClient ( GamespyTcpStream client ) : System

Constructor

보호된 메소드들

메소드 설명
ParseRequest ( string message ) : void

Takes a message sent through the Stream and sends back a response

비공개 메소드들

메소드 설명
FixFilter ( string filter ) : string
FixFilterOperators ( string filter ) : string
FixFilterQuotes ( string filter ) : string
GetField ( GameServer server, string fieldName ) : string

Fetches a property by fieldName from the provided Server Object

GetParameterValue ( string parts, string parameter ) : string

A simple method of getting the value of the passed parameter key, from the returned array of data from the client

IsGroup ( string filter, int i, int &length, bool previous = false ) : bool
IsLogical ( string filter, int i, int &length, bool previous = false ) : bool
IsOperator ( string filter, int i, int &length, bool previous = false ) : bool
PackServerList ( string filter, string fields ) : byte[]

Packs and prepares the response to a Server List request from the clients game.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

Dispose method to be called by the server
public Dispose ( bool DisposeEventArgs = false ) : void
DisposeEventArgs bool
리턴 void

MasterClient() 공개 메소드

Constructor
public MasterClient ( GamespyTcpStream client ) : System
client BF2Statistics.Gamespy.Net.GamespyTcpStream
리턴 System

ParseRequest() 보호된 메소드

Takes a message sent through the Stream and sends back a response
protected ParseRequest ( string message ) : void
message string
리턴 void