Метод | Описание | |
---|---|---|
sendCommand ( string $alias, string $command, mixed[] $params = [] ) | Invoke remote command using specified Runtime Container. | |
sendMessage ( string $alias, string | Kraken\Channel\Protocol\ProtocolInterface $message, integer $flags = Channel::MODE_DEFAULT ) : Kraken\Promise\PromiseInterface | Send async message to specified Runtime Container. | |
sendRequest ( string $alias, string | Kraken\Channel\Protocol\ProtocolInterface $message, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Send request to specified Runtime Container. |
public sendCommand ( string $alias, string $command, mixed[] $params = [] ) | ||
$alias | string | |
$command | string | |
$params | mixed[] |
public sendMessage ( string $alias, string | Kraken\Channel\Protocol\ProtocolInterface $message, integer $flags = Channel::MODE_DEFAULT ) : Kraken\Promise\PromiseInterface | ||
$alias | string | |
$message | string | Kraken\Channel\Protocol\ProtocolInterface | |
$flags | integer | |
Результат | Kraken\Promise\PromiseInterface |
public sendRequest ( string $alias, string | Kraken\Channel\Protocol\ProtocolInterface $message, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$alias | string | |
$message | string | Kraken\Channel\Protocol\ProtocolInterface | |
$params | mixed[] | |
Результат | Kraken\Promise\PromiseInterface |