PHP Class Workerman\Events\React\ExtEventLoop

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

Protected Properties

Свойство Type Description
$_eventBase 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 $_eventBase
Résultat EventBase

$_signalEvents protected_oe property

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