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_); }
McServerTransaction::~McServerTransaction() { session_->onTransactionCompleted(isSubRequest_); um_backing_msg_cleanup(&umMsg_); mc_ascii_response_buf_cleanup(&asciiResponse_); }
void AsciiSerializedReply::clear() { mc_ascii_response_buf_cleanup(&asciiResponse_); mc_ascii_response_buf_init(&asciiResponse_); }
AsciiSerializedReply::~AsciiSerializedReply() { mc_ascii_response_buf_cleanup(&asciiResponse_); }