PHP Class Phergie_Process_Async, phergie

Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Process_Abstract
Afficher le fichier Open project: phergie/phergie

Protected Properties

Свойство Type Description
$sec integer Length of time to poll for stream activity (seconds)
$usec integer Length of time to poll for stream activity (microseconds)

Méthodes publiques

Méthode 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 méthode

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
Résultat void

handleEvents() public méthode

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

Property Details

$sec protected_oe property

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

$usec protected_oe property

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