コード例 #1
0
ファイル: WriteBuffer.cpp プロジェクト: 247687009/mcrouter
void WriteBuffer::clear() {
  ctx_.clear();
  reply_.clear();
  um_backing_msg_cleanup(&umMsg_);
  um_backing_msg_init(&umMsg_);
  mc_ascii_response_buf_cleanup(&asciiResponse_);
  mc_ascii_response_buf_init(&asciiResponse_);
}
コード例 #2
0
McServerTransaction::~McServerTransaction() {
    session_->onTransactionCompleted(isSubRequest_);

    um_backing_msg_cleanup(&umMsg_);
    mc_ascii_response_buf_cleanup(&asciiResponse_);
}
コード例 #3
0
ファイル: WriteBuffer.cpp プロジェクト: simon-rock/mcrouter
void AsciiSerializedReply::clear() {
  mc_ascii_response_buf_cleanup(&asciiResponse_);
  mc_ascii_response_buf_init(&asciiResponse_);
}
コード例 #4
0
ファイル: WriteBuffer.cpp プロジェクト: simon-rock/mcrouter
AsciiSerializedReply::~AsciiSerializedReply() {
  mc_ascii_response_buf_cleanup(&asciiResponse_);
}