Beispiele
AMQPConnection::connect
AMQP
PHP Manual

# The AMQPConnection class

(PECL amqp >= Unknown)

## Einführung

Represents a connection to an AMQP broker.

## Klassenbeschreibung

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` )
}

## Inhaltsverzeichnis

- AMQPConnection::connect — Establish a connection with the AMQP broker.
- AMQPConnection::__construct — Create an instance of AMQPConnection
- AMQPConnection::disconnect — Closes the connection with the AMQP broker.
- AMQPConnection::getHost — Get the configured host
- AMQPConnection::getLogin — Get the configured login
- AMQPConnection::getPassword — Get the configured password
- AMQPConnection::getPort — Get the configured port
- AMQPConnection::getTimeout — Get the configured timeout
- AMQPConnection::getVhost — Get the configured vhost
- AMQPConnection::isConnected — Determine if the AMQPConnection object is connected to the broker.
- AMQPConnection::reconnect — Closes any open connection and creates a new connection with the AMQP broker.
- AMQPConnection::setHost — Set the amqp host.
- AMQPConnection::setLogin — Set the login.
- AMQPConnection::setPassword — Set the password.
- AMQPConnection::setPort — Set the port.
- AMQPConnection::setTimeout — Set the timeout.
- AMQPConnection::setVhost — Set the amqp virtual host

Beispiele
AMQPConnection::connect
AMQP
PHP Manual