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

Method on_connection_open

cpp/examples/simple_send.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void on_connection_open(proton::connection& c) override {
62 if (c.reconnected()) {
63 sent = confirmed; // Re-send unconfirmed messages after a reconnect
64 }
65 }
66
67 void on_sendable(proton::sender &s) override {
68 while (s.credit() && sent < total) {

Callers

nothing calls this directly

Calls 1

reconnectedMethod · 0.80

Tested by

no test coverage detected