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

Method on_container_start

cpp/examples/connection_options.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 4

connection_optionsClass · 0.50
connectMethod · 0.45
max_frame_sizeMethod · 0.45
handlerMethod · 0.45

Tested by

no test coverage detected