| 337 | } |
| 338 | |
| 339 | bool RemoteController::connected() const |
| 340 | { |
| 341 | ControllerConnectedReverseRequest req { |
| 342 | .controller_id = controller_id_, |
| 343 | }; |
| 344 | auto resp_opt = server_.send_and_recv<ControllerConnectedReverseResponse>(req); |
| 345 | if (!resp_opt) { |
| 346 | return false; |
| 347 | } |
| 348 | return resp_opt->ret; |
| 349 | } |
| 350 | |
| 351 | bool RemoteController::running() const |
| 352 | { |
nothing calls this directly
no outgoing calls
no test coverage detected