| 61 | } |
| 62 | |
| 63 | int LockToolImpl::AcquireLock(phxrpc::OptMap &opt_map) { |
| 64 | phxqueue::comm::proto::AcquireLockRequest req; |
| 65 | phxqueue::comm::proto::AcquireLockResponse resp; |
| 66 | |
| 67 | //TODO: fill req from opt_map |
| 68 | |
| 69 | |
| 70 | LockClient client; |
| 71 | int ret = client.AcquireLock(req, &resp); |
| 72 | printf("%s return %d\n", __func__, ret); |
| 73 | printf("resp: {\n%s}\n", resp.DebugString().c_str()); |
| 74 | |
| 75 | return ret; |
| 76 | } |
| 77 |
nothing calls this directly
no outgoing calls
no test coverage detected