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

Method close

cpp/src/connection.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void connection::close() {
65 pn_connection_close(pn_object());
66 reconnect_context* rctx = connection_context::get(pn_object()).reconnect_context_.get();
67 if (rctx) rctx->stop_reconnect_ = true;
68}
69
70std::string connection::virtual_host() const {
71 return str(pn_connection_remote_hostname(pn_object()));

Callers

nothing calls this directly

Calls 3

pn_connection_closeFunction · 0.85
getFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected