Net_GameServerQuery
[ class tree: Net_GameServerQuery ] [ index: Net_GameServerQuery ] [ all elements ]

Class: Net_GameServerQuery_Process

Source Location: /Net_GameServerQuery-0.3.0/Net/GameServerQuery/Process.php

Class Overview


Process the server responses


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 40]
Process the server responses

Loads the protocol drivers to parse packets, and runs the normalistion methods



[ Top ]


Method Detail

__construct (Constructor)   [line 68]

Net_GameServerQuery_Process __construct( $gamedata, $config)

Constructor
  • Access: public

Parameters:

   $gamedata     
   $config     

[ Top ]

batch   [line 99]

array batch( array $results)

Batch process all the results
  • Return: Processed results
  • Access: public

Parameters:

array   $results     Query results

[ Top ]

factory   [line 78]

void &factory( $protocol)

Factory for including protocols
  • Access: public

Parameters:

   $protocol     

[ Top ]

normalise   [line 153]

void normalise( array $data, string $protocol, string $flag)

Normalise result arrays

This only normalises the status array

  • Access: public

Parameters:

array   $data     Server data
string   $protocol     Protocol name
string   $flag     Query flag

[ Top ]

process   [line 117]

array process( $result, array $results)

Process a single result
  • Return: Processed result
  • Access: public

Parameters:

array   $results     Query result
   $result     

[ Top ]


Documentation generated on Wed, 06 Oct 2010 01:00:06 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.