| 21 | struct AsyncHandler : public test::ParentServiceCobSvIf { |
| 22 | std::vector<std::string> strings; |
| 23 | void addString(std::function<void()> cob, const std::string& s) override { |
| 24 | strings.push_back(s); |
| 25 | cob(); |
| 26 | } |
| 27 | void getStrings(std::function<void(std::vector<std::string> const& _return)> cob) override { |
| 28 | cob(strings); |
| 29 | } |