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

Method on_transport_error

cpp/src/reconnect_test.cpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 void on_transport_error(proton::transport& t) override {
165 ASSERT_EQUAL(bool(transport_error_count), t.connection().reconnected());
166 transport_error_count++;
167 }
168
169 void on_transport_close(proton::transport& t) override {
170 ASSERT_THROWS_MSG(proton::error, "No active connection", t.connection().url());

Callers

nothing calls this directly

Calls 2

reconnectedMethod · 0.80
connectionMethod · 0.45

Tested by

no test coverage detected