AMQPChannel
PHP Manual

AMQPChannel::__construct

(PECL amqp >= Unknown)

AMQPChannel::__constructCreate an instance of an AMQPChannel object

Descrierea

AMQPChannel::__construct ( AMQPConnection $amqp_connection )

Creates an AMQPChannel instance representing a channel on the given connection.

Parametri

amqp_connection

A instance of AMQPConnection with an active connection to a broker.

Erori/Excepții

Throws AMQPConnectionException if the connection to the broker was lost.

Valorile întoarse

An instance of AMQPChannel.


AMQPChannel
PHP Manual