| 84 | } |
| 85 | |
| 86 | void PressClient::call_method(brpc::Controller* cntl, Message* request, |
| 87 | Message* response, Closure* done) { |
| 88 | if (!_attachment.empty()) { |
| 89 | cntl->request_attachment().append(_attachment); |
| 90 | } |
| 91 | _rpc_client.CallMethod(_method_descriptor, cntl, request, response, done); |
| 92 | } |
| 93 | |
| 94 | RpcPress::RpcPress() |
| 95 | : _pbrpc_client(NULL) |
no test coverage detected