PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

The AMQPConnection class

(PECL amqp >= Unknown)

Introduction

Represents a connection to an AMQP broker.

Class synopsis

AMQPConnection {
/* Methods */
public bool connect ( void )
public __construct ([ array $credentials = array() ] )
public bool disconnect ( void )
public string getHost ( void )
public string getLogin ( void )
public string getPassword ( void )
public int getPort ( void )
public int getTimeout ( void )
public string getVhost ( void )
public bool isConnected ( void )
public bool reconnect ( void )
public bool setHost ( string $host )
public bool setLogin ( string $login )
public bool setPassword ( string $password )
public bool setPort ( int $port )
public bool setTimeout ( float $timeout )
public bool setVhost ( string $vhost )
}

Table of Contents

PHP Manual