| 48 | main_handler(const std::string& u) : url(u) {} |
| 49 | |
| 50 | void on_container_start(proton::container &c) override { |
| 51 | // Connection options for this connection. Merged with and overriding the container's |
| 52 | // client_connection_options() settings. |
| 53 | c.connect(url, connection_options().handler(conn_handler).max_frame_size(2468)); |
| 54 | } |
| 55 | |
| 56 | void on_connection_open(proton::connection &c) override { |
| 57 | std::cout << "unexpected connection event on main handler" << std::endl; |
nothing calls this directly
no test coverage detected