Свойство | Type | Description | |
---|---|---|---|
$channel | Kraken\Channel\ChannelInterface | ||
$receiver | string | ||
$runtime | string |
Méthode | Description | |
---|---|---|
__construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, string | null $receiver = null ) | ||
__destruct ( ) | ||
createProcess ( $alias, $name, $flags = Runtime::CREATE_DEFAULT, $params = [] ) | ||
createProcesses ( $definitions, $flags = Runtime::CREATE_DEFAULT, $params = [] ) | ||
destroyProcess ( $alias, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] ) | ||
destroyProcesses ( $aliases, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] ) | ||
existsProcess ( $alias ) | ||
flushProcesses ( $flags = Runtime::DESTROY_KEEP ) | ||
getProcesses ( ) | ||
sendCommand ( $alias, $command, $params = [] ) | ||
sendMessage ( $alias, $message, $flags = Channel::MODE_DEFAULT ) | ||
sendRequest ( $alias, $message, $params = [] ) | ||
startProcess ( $alias, $params = [] ) | ||
startProcesses ( $aliases, $params = [] ) | ||
stopProcess ( $alias, $params = [] ) | ||
stopProcesses ( $aliases, $params = [] ) |
Méthode | Description | |
---|---|---|
createRequest ( Kraken\Channel\ChannelInterface $channel, string $receiver, string $command ) : |
Create Request. |
public __construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, string | null $receiver = null ) | ||
$runtime | Kraken\Runtime\RuntimeContainerInterface | |
$channel | Kraken\Channel\ChannelInterface | |
$receiver | string | null |
public createProcess ( $alias, $name, $flags = Runtime::CREATE_DEFAULT, $params = [] ) |
public createProcesses ( $definitions, $flags = Runtime::CREATE_DEFAULT, $params = [] ) |
protected createRequest ( Kraken\Channel\ChannelInterface $channel, string $receiver, string $command ) : |
||
$channel | Kraken\Channel\ChannelInterface | |
$receiver | string | |
$command | string | |
Résultat |
public destroyProcess ( $alias, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] ) |
public destroyProcesses ( $aliases, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] ) |
public sendMessage ( $alias, $message, $flags = Channel::MODE_DEFAULT ) |
protected ChannelInterface,Kraken\Channel $channel | ||
Résultat | Kraken\Channel\ChannelInterface |