AMQPConnection::setHost PHP Метод

setHost() публичный Метод

Set the hostname used to connect to the AMQP broker.
public setHost ( string $host ) : boolean
$host string The hostname of the AMQP broker.
Результат boolean TRUE on success or FALSE on failure.
    public function setHost($host)
    {
    }

Usage Example

Пример #1
0
 /**
  * @inheritdoc
  */
 public function setHost($host)
 {
     try {
         return $this->delegate->setHost($host);
     } catch (\AMQPConnectionException $e) {
         throw new ConnectionException($e->getMessage(), $e->getCode(), $e);
     }
 }
All Usage Examples Of AMQPConnection::setHost