PHP Class xajaxCometResponse

Inheritance: extends xajaxResponse
Show file Open project: xajax/xajax

Public Properties

Property Type Description
$bHeaderSent
$fTimeOut

Public Methods

Method 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 method

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

flush_HTML5DRAFT() public method

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

flush_XHR() public method

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

flush_activeX() public method

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

printOutput() public method

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

sleep() public method

Very accurate sleep function.
public sleep ( $seconds )

xajaxCometResponse() public method

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

Property Details

$bHeaderSent public property

public $bHeaderSent

$fTimeOut public property

public $fTimeOut