| 60 | } |
| 61 | |
| 62 | void 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 | |
| 75 | void connection_driver::connect(const connection_options& opts) { |
| 76 | connection_options all; |
nothing calls this directly
no test coverage detected