|
Asyncore
|
Public Member Functions | |
| __construct (&$proc, array &$pipes, callable $message_handler) | |
| isRunning () | |
| send ($data) | |
Static Public Member Functions | |
| static | init (callable $message_handler) |
Public Attributes | |
| $running_condition | |
| Asyncore\Worker::__construct | ( | & | $proc, |
| array & | $pipes, | ||
| callable | $message_handler | ||
| ) |
| resource | $proc | |
| array | $pipes | |
| callable | $message_handler |
|
static |
Initiates the worker script and registers a message handler.
| callable | $message_handler | The function to be called when the master sends a message. |
| Asyncore\Worker::isRunning | ( | ) |
| Asyncore\Worker::send | ( | $data | ) |