PHP 클래스 Kraken\Channel\Extra\Request

파일 보기 프로젝트 열기: kraken-php/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$channel Kraken\Channel\ChannelInterface
$counter integer
$message Kraken\Channel\Protocol\ProtocolInterface | string
$name string
$params float

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
retryOrReset ( Kraken\Promise\PromiseInterface $promise, Erro\Error | Exceptio\Exception | ThrowableProxy $ex )
send ( Kraken\Promise\PromiseInterface $promise ) : Kraken\Promise\PromiseInterface Send the request using passed Promise.

비공개 메소드들

메소드 설명
retry ( Kraken\Promise\PromiseInterface $promise )

메소드 상세

__construct() 공개 메소드

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[]

__destruct() 공개 메소드

public __destruct ( )

__invoke() 공개 메소드

Send the prepared request.
public __invoke ( ) : Kraken\Promise\PromiseInterface
리턴 Kraken\Promise\PromiseInterface

call() 공개 메소드

Send the prepared request.
public call ( ) : Kraken\Promise\PromiseInterface
리턴 Kraken\Promise\PromiseInterface

retryOrReset() 보호된 메소드

protected retryOrReset ( Kraken\Promise\PromiseInterface $promise, Erro\Error | Exceptio\Exception | ThrowableProxy $ex )
$promise Kraken\Promise\PromiseInterface
$ex Erro\Error | Exceptio\Exception | Kraken\Throwable\ThrowableProxy

send() 보호된 메소드

Send the request using passed Promise.
protected send ( Kraken\Promise\PromiseInterface $promise ) : Kraken\Promise\PromiseInterface
$promise Kraken\Promise\PromiseInterface
리턴 Kraken\Promise\PromiseInterface

프로퍼티 상세

$channel 보호되어 있는 프로퍼티

protected ChannelInterface,Kraken\Channel $channel
리턴 Kraken\Channel\ChannelInterface

$counter 보호되어 있는 프로퍼티

protected int $counter
리턴 integer

$message 보호되어 있는 프로퍼티

protected ProtocolInterface,Kraken\Channel\Protocol|string $message
리턴 Kraken\Channel\Protocol\ProtocolInterface | string

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string

$params 보호되어 있는 프로퍼티

protected float $params
리턴 float