MCPcopy Create free account
hub / github.com/apache/thrift / addString

Method addString

lib/cpp/test/qt/TQTcpServerTest.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21struct 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 }

Callers 1

test_communicateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected