PHP Class Workerman\Events\React\LibEventLoop

Inheritance: extends React\EventLoop\LibEventLoop
Afficher le fichier Open project: walkor/workerman

Protected Properties

Свойство Type Description
$_eventBase Event base.
$_signalEvents array All signal Event instances.

Méthodes publiques

Méthode Description
__construct ( ) Construct.
addSignal ( $signal, $callback ) : boolean Add signal handler.
removeSignal ( $signal ) Remove signal handler.

Method Details

__construct() public méthode

Construct.
public __construct ( )

addSignal() public méthode

Add signal handler.
public addSignal ( $signal, $callback ) : boolean
$signal
$callback
Résultat boolean

removeSignal() public méthode

Remove signal handler.
public removeSignal ( $signal )
$signal

Property Details

$_eventBase protected_oe property

Event base.
protected $_eventBase

$_signalEvents protected_oe property

All signal Event instances.
protected array $_signalEvents
Résultat array