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

Method on_container_start

cpp/examples/tracing_client.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 client(const std::string &u, const std::vector<std::string>& r) : url(u), requests(r) {}
69
70 void on_container_start(proton::container &c) override {
71 sender = c.open_sender(url);
72 // Create a receiver requesting a dynamically created queue
73 // for the message source.
74 receiver_options opts = receiver_options().source(source_options().dynamic(true));
75 receiver = sender.connection().open_receiver("", opts);
76 }
77
78 void send_request() {
79 proton::message req;

Callers

nothing calls this directly

Calls 7

receiver_optionsClass · 0.50
source_optionsClass · 0.50
open_senderMethod · 0.45
sourceMethod · 0.45
dynamicMethod · 0.45
open_receiverMethod · 0.45
connectionMethod · 0.45

Tested by

no test coverage detected