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

Method close

cpp/src/credit_test.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 proton::work notify_work_;
84
85 void close (proton::connection &c) {
86 if (closing_) return;
87
88 c.close(proton::error_condition("amqp:connection:forced", "Failover testing"));
89 closing_ = true;
90 }
91
92 public:
93 server_connection_handler(proton::container& c, int a, waiter& w)

Callers 3

failMethod · 0.45
third_idleMethod · 0.45
fifth_idleMethod · 0.45

Calls 1

error_conditionClass · 0.70

Tested by

no test coverage detected