PHP Class Thumper\BaseAmqp

Afficher le fichier Open project: php-amqplib/thumper

Protected Properties

Свойство Type Description
$channel PhpAmqpLib\Channel\AMQPChannel
$connection PhpAmqpLib\Connection\AbstractConnection
$consumerOptions array
$exchangeOptions array
$parameters array
$queueOptions array
$routingKey string

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
getConsumerTag ( ) : string
setUpConsumer ( ) Setup consumer.

Private Methods

Méthode Description
isValidExchangeName ( string $exchangeName ) : boolean Verifies exchange name meets the 0.9.1 protocol standard.

Method Details

__construct() public méthode

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

getConsumerTag() protected méthode

protected getConsumerTag ( ) : string
Résultat string

getParameters() public méthode

public getParameters ( ) : array
Résultat array

setExchangeOptions() public méthode

public setExchangeOptions ( array $options )
$options array

setParameter() public méthode

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

setQos() public méthode

public setQos ( array $options )
$options array

setQueueOptions() public méthode

public setQueueOptions ( array $options )
$options array

setRoutingKey() public méthode

public setRoutingKey ( string $routingKey )
$routingKey string

setUpConsumer() protected méthode

Setup consumer.
protected setUpConsumer ( )

Property Details

$channel protected_oe property

protected AMQPChannel,PhpAmqpLib\Channel $channel
Résultat PhpAmqpLib\Channel\AMQPChannel

$connection protected_oe property

protected AbstractConnection,PhpAmqpLib\Connection $connection
Résultat PhpAmqpLib\Connection\AbstractConnection

$consumerOptions protected_oe property

protected array $consumerOptions
Résultat array

$exchangeOptions protected_oe property

protected array $exchangeOptions
Résultat array

$parameters protected_oe property

protected array $parameters
Résultat array

$queueOptions protected_oe property

protected array $queueOptions
Résultat array

$routingKey protected_oe property

protected string $routingKey
Résultat string