MCPcopy Create free account
hub / github.com/apache/impala / RpcContext

Method RpcContext

be/src/kudu/rpc/rpc_context.cc:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47namespace rpc {
48
49RpcContext::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
62RpcContext::~RpcContext() {
63}

Callers

nothing calls this directly

Calls 3

SecureDebugStringFunction · 0.85
service_nameMethod · 0.80
ToStringMethod · 0.45

Tested by

no test coverage detected