| 62 | } |
| 63 | |
| 64 | int StoreToolImpl::Get(phxrpc::OptMap &opt_map) { |
| 65 | phxqueue::comm::proto::GetRequest req; |
| 66 | phxqueue::comm::proto::GetResponse resp; |
| 67 | |
| 68 | //TODO: fill req from opt_map |
| 69 | |
| 70 | |
| 71 | StoreClient client; |
| 72 | int ret = client.Get(req, &resp); |
| 73 | printf("%s return %d\n", __func__, ret); |
| 74 | printf("resp: {\n%s}\n", resp.DebugString().c_str()); |
| 75 | |
| 76 | return ret; |
| 77 | } |
| 78 |