AMQPConnection::setLogin PHP 메소드

setLogin() 공개 메소드

Set the login string used to connect to the AMQP broker.
public setLogin ( string $login ) : boolean
$login string The login string used to authenticate with the AMQP broker.
리턴 boolean TRUE on success or FALSE on failure.
    public function setLogin($login)
    {
    }

Usage Example

예제 #1
0
 /**
  * @inheritdoc
  */
 public function setLogin($login)
 {
     try {
         return $this->delegate->setLogin($login);
     } catch (\AMQPConnectionException $e) {
         throw new ConnectionException($e->getMessage(), $e->getCode(), $e);
     }
 }
All Usage Examples Of AMQPConnection::setLogin