public function send_sendMessage(\Bin\rpc\Message $msg)
{
$args = new \Bin\rpc\rpc_sendMessage_args();
$args->msg = $msg;
$bin_accel = $this->output_ instanceof TBinaryProtocolAccelerated && function_exists('thrift_protocol_write_binary');
if ($bin_accel) {
thrift_protocol_write_binary($this->output_, 'sendMessage', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
} else {
$this->output_->writeMessageBegin('sendMessage', TMessageType::CALL, $this->seqid_);
$args->write($this->output_);
$this->output_->writeMessageEnd();
$this->output_->getTransport()->flush();
}
}