PHP Интерфейс Kraken\Runtime\Container\AbstractManagerInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

sendCommand() публичный Метод

Invoke remote command using specified Runtime Container.
public sendCommand ( string $alias, string $command, mixed[] $params = [] )
$alias string
$command string
$params mixed[]

sendMessage() публичный Метод

Send async message to specified Runtime Container.
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

sendRequest() публичный Метод

Send request to specified Runtime Container.
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