PHP Class Workerman\Events\React\LibEventLoop

Inheritance: extends React\EventLoop\LibEventLoop
Exibir arquivo Open project: walkor/workerman

Protected Properties

Property Type Description
$_eventBase Event base.
$_signalEvents array All signal Event instances.

Public Methods

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

Method Details

__construct() public method

Construct.
public __construct ( )

addSignal() public method

Add signal handler.
public addSignal ( $signal, $callback ) : boolean
$signal
$callback
return boolean

removeSignal() public method

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
return array