PHP Class xajaxCometResponse

Inheritance: extends xajaxResponse
Afficher le fichier Open project: xajax/xajax

Méthodes publiques

Свойство Type Description
$bHeaderSent
$fTimeOut

Méthodes publiques

Méthode Description
flush ( ) * Function: flush
flush_HTML5DRAFT ( ) * Function: flush_HTML5DRAFT
flush_XHR ( ) * Function: flush_XHR
flush_activeX ( ) * Function: flush_activeX
printOutput ( ) * Function: printOutput
sleep ( $seconds ) * Function: sleep
xajaxCometResponse ( $fTimeOut = false ) * Function: xajaxCometResponse

Method Details

flush() public méthode

Determines which browser is wating for a response and calls the according flush function.
public flush ( )

flush_HTML5DRAFT() public méthode

Flushes the command queue for HTML5DRAFT browsers.
public flush_HTML5DRAFT ( )

flush_XHR() public méthode

Flushes the command queue for comet browsers.
public flush_XHR ( )

flush_activeX() public méthode

Flushes the command queue for ActiveX browsers.
public flush_activeX ( )

printOutput() public méthode

override the original printOutput function. It's no longer needed since the output is already sent.
public printOutput ( )

sleep() public méthode

Very accurate sleep function.
public sleep ( $seconds )

xajaxCometResponse() public méthode

calls parent function xajaxResponse();
public xajaxCometResponse ( $fTimeOut = false )

Property Details

$bHeaderSent public_oe property

public $bHeaderSent

$fTimeOut public_oe property

public $fTimeOut