CassandraClient::send_describe_ring PHP Method

send_describe_ring() public method

public send_describe_ring ( $keyspace )
    public function send_describe_ring($keyspace)
    {
        $args = new cassandra_Cassandra_describe_ring_args();
        $args->keyspace = $keyspace;
        $bin_accel = $this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED && function_exists('thrift_protocol_write_binary');
        if ($bin_accel) {
            thrift_protocol_write_binary($this->output_, 'describe_ring', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
        } else {
            $this->output_->writeMessageBegin('describe_ring', TMessageType::CALL, $this->seqid_);
            $args->write($this->output_);
            $this->output_->writeMessageEnd();
            $this->output_->getTransport()->flush();
        }
    }