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

Method check_close

cpp/src/container_test.cpp:370–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368
369
370 void check_close(proton::link &l) {
371 if (had_receiver && had_sender) {
372 l.connection().close();
373 listener.stop();
374 }
375 }
376
377 void on_receiver_open(proton::receiver &l) override {
378 had_receiver = true;

Callers

nothing calls this directly

Calls 3

closeMethod · 0.45
connectionMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected