PHP Class Thumper\BaseAmqp

Mostra file Open project: php-amqplib/thumper

Protected Properties

Property Type Description
$channel PhpAmqpLib\Channel\AMQPChannel
$connection PhpAmqpLib\Connection\AbstractConnection
$consumerOptions array
$exchangeOptions array
$parameters array
$queueOptions array
$routingKey string

Public Methods

Method 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 )

Protected Methods

Method Description
getConsumerTag ( ) : string
setUpConsumer ( ) Setup consumer.

Private Methods

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

Method Details

__construct() public method

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

getConsumerTag() protected method

protected getConsumerTag ( ) : string
return string

getParameters() public method

public getParameters ( ) : array
return array

setExchangeOptions() public method

public setExchangeOptions ( array $options )
$options array

setParameter() public method

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

setQos() public method

public setQos ( array $options )
$options array

setQueueOptions() public method

public setQueueOptions ( array $options )
$options array

setRoutingKey() public method

public setRoutingKey ( string $routingKey )
$routingKey string

setUpConsumer() protected method

Setup consumer.
protected setUpConsumer ( )

Property Details

$channel protected_oe property

protected AMQPChannel,PhpAmqpLib\Channel $channel
return PhpAmqpLib\Channel\AMQPChannel

$connection protected_oe property

protected AbstractConnection,PhpAmqpLib\Connection $connection
return PhpAmqpLib\Connection\AbstractConnection

$consumerOptions protected_oe property

protected array $consumerOptions
return array

$exchangeOptions protected_oe property

protected array $exchangeOptions
return array

$parameters protected_oe property

protected array $parameters
return array

$queueOptions protected_oe property

protected array $queueOptions
return array

$routingKey protected_oe property

protected string $routingKey
return string