MCPcopy Create free account
hub / github.com/apache/qpid-proton / on_container_start

Method on_container_start

cpp/src/container_test.cpp:322–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321struct schedule_tester : public proton::messaging_handler {
322 void on_container_start(proton::container& c) override {
323 c.schedule(proton::duration(250), [&](){ c.stop(); });
324 }
325};
326
327int test_container_schedule_stop() {

Callers

nothing calls this directly

Calls 3

durationClass · 0.50
scheduleMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected