| 32 | |
| 33 | class handler_2 : public proton::messaging_handler { |
| 34 | void on_connection_open(proton::connection &c) override { |
| 35 | std::cout << "connection events going to handler_2" << std::endl; |
| 36 | std::cout << "connection max_frame_size: " << c.max_frame_size() << |
| 37 | ", idle timeout: " << c.idle_timeout() << std::endl; |
| 38 | c.close(); |
| 39 | } |
| 40 | }; |
| 41 | |
| 42 | class main_handler : public proton::messaging_handler { |
nothing calls this directly
no test coverage detected