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

Method configure

cpp/src/connection_driver.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void connection_driver::configure(const connection_options& opts, bool server) {
63 proton::connection c(connection());
64 opts.apply_unbound(c);
65 if (server) {
66 pn_transport_set_server(driver_.transport);
67 opts.apply_unbound_server(driver_.transport);
68 } else {
69 opts.apply_unbound_client(driver_.transport);
70 }
71 pn_connection_driver_bind(&driver_);
72 handler_ = opts.handler();
73}
74
75void connection_driver::connect(const connection_options& opts) {
76 connection_options all;

Callers

nothing calls this directly

Calls 7

pn_transport_set_serverFunction · 0.85
apply_unbound_serverMethod · 0.80
apply_unbound_clientMethod · 0.80
connectionClass · 0.70
apply_unboundMethod · 0.45
handlerMethod · 0.45

Tested by

no test coverage detected