| 47 | namespace rpc { |
| 48 | |
| 49 | RpcContext::RpcContext(InboundCall *call, |
| 50 | const google::protobuf::Message *request_pb, |
| 51 | google::protobuf::Message *response_pb) |
| 52 | : call_(CHECK_NOTNULL(call)), |
| 53 | request_pb_(request_pb), |
| 54 | response_pb_(response_pb) { |
| 55 | VLOG(4) << call_->remote_method().service_name() << ": Received RPC request for " |
| 56 | << call_->ToString() << ":" << std::endl << SecureDebugString(*request_pb_); |
| 57 | TRACE_EVENT_ASYNC_BEGIN2("rpc_call", "RPC", this, |
| 58 | "call", call_->ToString(), |
| 59 | "request", pb_util::PbTracer::TracePb(*request_pb_)); |
| 60 | } |
| 61 | |
| 62 | RpcContext::~RpcContext() { |
| 63 | } |
nothing calls this directly
no test coverage detected