| 324 | |
| 325 | |
| 326 | const std::string RequiresQueue::GetResponse(ClientAttentionType type, |
| 327 | ClientAttentionGroup group, |
| 328 | uint32_t id) const |
| 329 | { |
| 330 | for (auto &e : slots) |
| 331 | { |
| 332 | if (e.type == type && e.group == group && e.id == id) |
| 333 | { |
| 334 | if (!e.provided) |
| 335 | { |
| 336 | throw RequiresQueueException("Request never provided by front-end"); |
| 337 | } |
| 338 | return e.value; |
| 339 | } |
| 340 | } |
| 341 | throw RequiresQueueException("No matching entry found in the request queue"); |
| 342 | } |
| 343 | |
| 344 | |
| 345 | const std::string RequiresQueue::GetResponse(ClientAttentionType type, |