public sendDirectCall ( $workerId, $appInstance, $method, array $args = [], callable $cb = null ) | ||
$workerId | ||
$appInstance | ||
$method | ||
$args | array | |
$cb | callable |
public function sendDirectCall($workerId, $appInstance, $method, $args = [], $cb = null)
{
$this->sendPacket(['op' => 'directCall', 'appfullname' => $appInstance, 'method' => $method, 'args' => $args, 'workerId' => $workerId]);
}