FIXME: 不应该存在这个函数 等 send_and_recv 支持在子线程中使用后,应该删除这个函数
| 2494 | // FIXME: 不应该存在这个函数 |
| 2495 | // 等 send_and_recv 支持在子线程中使用后,应该删除这个函数 |
| 2496 | bool AgentClient::handle_event_response(const json::value& j) |
| 2497 | { |
| 2498 | if (j.is<ResourceEventResponse>() || j.is<ControllerEventResponse>() || j.is<TaskerEventResponse>()) { |
| 2499 | LogTrace << "handle event response" << VAR(j); |
| 2500 | return true; |
| 2501 | } |
| 2502 | return false; |
| 2503 | } |
| 2504 | |
| 2505 | MaaBool AgentClient::reco_agent( |
| 2506 | MaaContext* context, |
nothing calls this directly
no outgoing calls
no test coverage detected