Method |
Description |
|
getStatus ( mixed $jobHandle, callable $cb = null ) |
Get job status |
|
onRead ( ) : void |
Called when new data received |
|
onReady ( ) : void |
Called when the connection is handshaked (at low-level), and peer is ready to recv. data |
|
sendCommand ( $commandName, $payload, callable $cb = null ) |
Send a command |
|
sendEcho ( $payload, callable | null $cb = null ) |
Function send ECHO |
|
setConnectionOption ( integer $optionName, callable $cb = null ) |
Function set settings for current connection
Available settings
'exceptions' - Forward WORK_EXCEPTION packets to the client. |
|
submitJob ( $params, callable $cb = null ) |
Function run task and wait result in callback |
|