AMQPConnection::setHost PHP Method

setHost() public method

Set the hostname used to connect to the AMQP broker.
public setHost ( string $host ) : boolean
$host string The hostname of the AMQP broker.
return boolean TRUE on success or FALSE on failure.
    public function setHost($host)
    {
    }

Usage Example

コード例 #1
0
ファイル: Connection.php プロジェクト: treehouselabs/queue
 /**
  * @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