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

Method on_sendable

cpp/examples/ssl.cpp:144–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void on_sendable(proton::sender &s) override {
145 proton::message m;
146 m.body("Hello World!");
147 s.send(m);
148 s.close();
149 }
150
151 void on_tracker_accept(proton::tracker &t) override {
152 // All done.

Callers

nothing calls this directly

Calls 3

bodyMethod · 0.80
sendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected