| 62 | } |
| 63 | |
| 64 | void 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 | |
| 70 | std::string connection::virtual_host() const { |
| 71 | return str(pn_connection_remote_hostname(pn_object())); |
nothing calls this directly
no test coverage detected