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

Method on_sendable

cpp/examples/ssl_client_cert.cpp:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 void on_sendable(proton::sender &s) override {
124 proton::message m;
125 m.body("Hello World!");
126 s.send(m);
127 s.close();
128 }
129
130 void on_tracker_accept(proton::tracker &t) override {
131 // All done.

Callers

nothing calls this directly

Calls 3

bodyMethod · 0.80
sendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected