protected function redirect(Reader $args)
    {
        $host = $args->readShortstr();
        $this->knownHosts = $args->readShortstr();
        if ($this->debug) {
            Helper::debugMsg(
                sprintf(
                    'Redirected to [%s], known_hosts [%s]',
                    $host, $this->knownHosts
                )
            );
        }
        return $host;
    }
protected function redirect(Reader $args)
    {
        $host = $args->readShortstr();
        $this->knownHosts = $args->readShortstr();
        if ($this->debug) {
            Helper::debugMsg(
                sprintf(
                    'Redirected to [%s], known_hosts [%s]',
                    $host, $this->knownHosts
                )
            );
        }
        return $host;
    }
protected function redirect ( Reader $ args ) { $ host = $ args -> readShortstr ( ) ; $ this -> knownHosts = $ args -> readShortstr ( ) ; if ( $ this -> debug ) { Helper :: debugMsg ( sprintf ( 'Redirected to [%s], known_hosts [%s]' , $ host , $ this -> knownHosts ) ) ; } return $ host ; }
asks the client to use a different server

@param \AMQP\Wire\Reader $args

@return string
asks the client to use a different server