| 50 | } |
| 51 | |
| 52 | phxqueue::comm::RetCode |
| 53 | Consumer::Get(const phxqueue::comm::proto::GetRequest &req, |
| 54 | phxqueue::comm::proto::GetResponse &resp) { |
| 55 | |
| 56 | static __thread StoreClient store_client; |
| 57 | auto ret = store_client.ProtoGet(req, resp); |
| 58 | if (phxqueue::comm::RetCode::RET_OK != ret) { |
| 59 | QLErr("ProtoGet ret %d", phxqueue::comm::as_integer(ret)); |
| 60 | } |
| 61 | return ret; |
| 62 | } |
| 63 | |
| 64 | phxqueue::comm::RetCode |
| 65 | Consumer::Add(phxqueue::comm::proto::AddRequest &req, |
nothing calls this directly
no test coverage detected