Property | Type | Description | |
---|---|---|---|
$channel | Kraken\Channel\ChannelInterface | ||
$counter | integer | ||
$message | Kraken\Channel\Protocol\ProtocolInterface | string | ||
$name | string | ||
$params | float |
Method | Description | |
---|---|---|
__construct ( Kraken\Channel\ChannelInterface $channel, string $name, string | Kraken\Channel\Protocol\ProtocolInterface $message, mixed[] $params = [] ) | ||
__destruct ( ) | ||
__invoke ( ) : Kraken\Promise\PromiseInterface | Send the prepared request. | |
call ( ) : Kraken\Promise\PromiseInterface | Send the prepared request. |
Method | Description | |
---|---|---|
retryOrReset ( Kraken\Promise\PromiseInterface $promise, Erro\Error | Exceptio\Exception | |
||
send ( Kraken\Promise\PromiseInterface $promise ) : Kraken\Promise\PromiseInterface | Send the request using passed Promise. |
Method | Description | |
---|---|---|
retry ( Kraken\Promise\PromiseInterface $promise ) |
public __construct ( Kraken\Channel\ChannelInterface $channel, string $name, string | Kraken\Channel\Protocol\ProtocolInterface $message, mixed[] $params = [] ) | ||
$channel | Kraken\Channel\ChannelInterface | |
$name | string | |
$message | string | Kraken\Channel\Protocol\ProtocolInterface | |
$params | mixed[] |
public __invoke ( ) : Kraken\Promise\PromiseInterface | ||
return | Kraken\Promise\PromiseInterface |
public call ( ) : Kraken\Promise\PromiseInterface | ||
return | Kraken\Promise\PromiseInterface |
protected retryOrReset ( Kraken\Promise\PromiseInterface $promise, Erro\Error | Exceptio\Exception | |
||
$promise | Kraken\Promise\PromiseInterface | |
$ex | Erro\Error | Exceptio\Exception | |
protected send ( Kraken\Promise\PromiseInterface $promise ) : Kraken\Promise\PromiseInterface | ||
$promise | Kraken\Promise\PromiseInterface | |
return | Kraken\Promise\PromiseInterface |
protected ChannelInterface,Kraken\Channel $channel | ||
return | Kraken\Channel\ChannelInterface |
protected ProtocolInterface,Kraken\Channel\Protocol|string $message | ||
return | Kraken\Channel\Protocol\ProtocolInterface | string |