PHP Class Phergie_Process_Async, phergie

Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Process_Abstract
Show file Open project: phergie/phergie

Protected Properties

Property Type Description
$sec integer Length of time to poll for stream activity (seconds)
$usec integer Length of time to poll for stream activity (microseconds)

Public Methods

Method Description
__construct ( Phergie_Bot $bot, array $options ) : void Overrides the parent class to set the poll time.
handleEvents ( ) : void Waits for stream activity and performs event processing on connections with data to read.

Method Details

__construct() public method

Overrides the parent class to set the poll time.
public __construct ( Phergie_Bot $bot, array $options ) : void
$bot Phergie_Bot Main bot class
$options array Processor arguments
return void

handleEvents() public method

Waits for stream activity and performs event processing on connections with data to read.
public handleEvents ( ) : void
return void

Property Details

$sec protected property

Length of time to poll for stream activity (seconds)
protected int $sec
return integer

$usec protected property

Length of time to poll for stream activity (microseconds)
protected int $usec
return integer