PHP 클래스 Thumper\BaseAmqp

파일 보기 프로젝트 열기: php-amqplib/thumper

보호된 프로퍼티들

프로퍼티 타입 설명
$channel PhpAmqpLib\Channel\AMQPChannel
$connection PhpAmqpLib\Connection\AbstractConnection
$consumerOptions array
$exchangeOptions array
$parameters array
$queueOptions array
$routingKey string

공개 메소드들

메소드 설명
__construct ( PhpAmqpLib\Connection\AbstractConnection $connection ) BaseAmqp constructor.
getParameters ( ) : array
setExchangeOptions ( array $options )
setParameter ( string $key, string $value )
setQos ( array $options )
setQueueOptions ( array $options )
setRoutingKey ( string $routingKey )

보호된 메소드들

메소드 설명
getConsumerTag ( ) : string
setUpConsumer ( ) Setup consumer.

비공개 메소드들

메소드 설명
isValidExchangeName ( string $exchangeName ) : boolean Verifies exchange name meets the 0.9.1 protocol standard.

메소드 상세

__construct() 공개 메소드

BaseAmqp constructor.
public __construct ( PhpAmqpLib\Connection\AbstractConnection $connection )
$connection PhpAmqpLib\Connection\AbstractConnection

getConsumerTag() 보호된 메소드

protected getConsumerTag ( ) : string
리턴 string

getParameters() 공개 메소드

public getParameters ( ) : array
리턴 array

setExchangeOptions() 공개 메소드

public setExchangeOptions ( array $options )
$options array

setParameter() 공개 메소드

public setParameter ( string $key, string $value )
$key string
$value string

setQos() 공개 메소드

public setQos ( array $options )
$options array

setQueueOptions() 공개 메소드

public setQueueOptions ( array $options )
$options array

setRoutingKey() 공개 메소드

public setRoutingKey ( string $routingKey )
$routingKey string

setUpConsumer() 보호된 메소드

Setup consumer.
protected setUpConsumer ( )

프로퍼티 상세

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

protected AMQPChannel,PhpAmqpLib\Channel $channel
리턴 PhpAmqpLib\Channel\AMQPChannel

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

protected AbstractConnection,PhpAmqpLib\Connection $connection
리턴 PhpAmqpLib\Connection\AbstractConnection

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

protected array $consumerOptions
리턴 array

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

protected array $exchangeOptions
리턴 array

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

protected array $parameters
리턴 array

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

protected array $queueOptions
리턴 array

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

protected string $routingKey
리턴 string