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

Method on_connection_open

cpp/examples/connection_options.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33class 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
42class main_handler : public proton::messaging_handler {

Callers

nothing calls this directly

Calls 3

max_frame_sizeMethod · 0.45
idle_timeoutMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected