Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 __construct, GameQuery
 _communicate
 _concurrent_fields
 _nonconcurrent_fields
 _request
 _response
 _unpack_byte, GameQuery
 _unpack_cstring, GameQuery
 _unpack_cstring_reversed
 _unpack_float32, GameQuery
 _unpack_fstring, GameQuery
 _unpack_int16, GameQuery
 _unpack_int32, GameQuery
 _validate, GameQuery
A
 add_include_paths, GameQuery
B
 Base Methods, GameQuery
 BattleField2
 BattleField2142
G
 GameQuery
 GameSpy
 GameSpy2
 get_include_delimiter, GameQuery
 get_include_paths, GameQuery
 get_raw, GameQuery
 get_struct, GameQuery
 get_template, GameQuery
 Global Constants, GameQuery
 GQProtocol_BattleField2
 GQProtocol_BattleField2142
 GQProtocol_GameSpy
 GQProtocol_GameSpy2
 GQProtocol_HalfLife
 GQProtocol_SourceEngine
public function __construct($hostarg =  NULL,
$options =  NULL)
Constructor, implemented by base class, to be inherited and used by extender classes.
protected function _communicate($requests =  array())
Internal method for the gory details of sending request strings and recieving response strings through direct socket communications.
protected function _communicate($requests =  array())
Internal method for the gory details of sending request strings and recieving response strings through direct socket communications.
protected function _communicate($requests =  array())
Internal method for the gory details of sending request strings and recieving response strings through direct socket communications.
protected function _communicate($requests =  array())
Internal method for the gory details of sending request strings and recieving response strings through direct socket communications.
private function _concurrent_fields(&$rsp_string =  array(),
$field_type =  '')
Internal method that, given a byte array, gets concurrent name-value pairs, null-terminated, until an empty pair is reached.
private function _concurrent_fields(&$rsp_string =  array(),
$field_type =  '')
Internal method that, given a byte array, gets concurrent name-value pairs, null-terminated, until an empty pair is reached.
private function _concurrent_fields(&$rsp_string =  array(),
$field_type =  '')
Internal method that, given a byte array, gets concurrent name-value pairs, null-terminated, until an empty pair is reached.
private function _nonconcurrent_fields(&$rsp_string =  array(),
$field_type =  '')
Internal method that, given a byte array, gets a series of null-terminated names, and repeated sets of corresponding null-terminated values.
private function _nonconcurrent_fields(&$rsp_string =  array(),
$field_type =  '')
Internal method that, given a byte array, gets a series of null-terminated names, and repeated sets of corresponding null-terminated values.
private function _nonconcurrent_fields(&$rsp_string =  array(),
$field_type =  '')
Internal method that, given a byte array, gets a series of null-terminated names, and repeated sets of corresponding null-terminated values.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _request($options =  NULL)
Internal method for constructing request strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _response($response =  NULL)
Internal method for parsing response strings that will be sent to the host server.
protected function _unpack_byte(&$arr =  NULL)
Static method for removing and returning the numeric ordinal of a byte from an array of bytes.
protected function _unpack_cstring(&$arr =  NULL)
Static method for removing and returning a null-terminated string (aka c-string) from an array of bytes.
function _unpack_cstring_reversed(&$arr =  NULL)
Static method for removing and returning a null-terminated string (aka c-string) from an array of bytes.
function _unpack_cstring_reversed(&$arr =  NULL)
Static method for removing and returning a null-terminated string (aka c-string) from an array of bytes.
protected function _unpack_float32(&$arr =  NULL)
Static method for removing and returning a 32-bit (4 byte) float from an array of bytes.
protected function _unpack_fstring(&$arr =  NULL,
$len =  0)
Static method for removing and returning a fixed-length string from an array of bytes.
protected function _unpack_int16(&$arr =  NULL)
Static method for removing and returning a 16-bit (2 byte) integer from an array of bytes.
protected function _unpack_int32(&$arr =  NULL)
Static method for removing and returning a 32-bit (4 byte) integer from an array of bytes.
protected function _validate($hostname =  NULL)
Internal method for validating that a host string is suitable for the current protocol and breaking it down into a dns/ip address and port number.
protected function add_include_paths($paths =  NULL)
Private method for adding new directories to the include_path.
These methods are provided statically in, and are meant to be called from, the base GameQuery class.
The GameQuery package is meant to be used as a class factory for creating server monitors with the Monitor static method, called from the base class.
protected function get_include_delimiter()
Private method for calculating the include_path delimiter character, which varies depending on the host operating system.
protected function get_include_paths()
Private method for retrieving seperated paths from the include_path.
public function get_raw()
Member method for returning the raw response string(s) from a query.
public function get_struct()
Method for returning response data after it has been broken down into a structure (typically composed of nested arrays).
public function get_template($template =  NULL)
Public method for displaying a processed query in an aesthetically pleasing format.
These go in the global scope, rather than the scope of the base class, and affect general error-handling and reporting behavior of the library classes.
This class extends the base GameQuery class to implement support for the BattleField 2 query protocol (which is itself a modification of the GameSpy 2 protocol).
This class extends the base GameQuery class to implement support for the BattleField 2 query protocol (which is itself a modification of the GameSpy 2 protocol).
This class extends the base GameQuery class to implement support for the GameSpy query protocol.
This class extends the base GameQuery class to implement support for the GameSpy 2 query protocol.
This class extends the base GameQuery class to implement support for the HalfLife query protocol.
This class extends the base GameQuery class to implement support for the Source Engine query protocol.