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

Method send

cpp/examples/multithreaded_client.cpp:74–78  ·  view source on GitHub ↗

Thread safe

Source from the content-addressed store, hash-verified

72
73 // Thread safe
74 void send(const proton::message& msg) {
75 // Use [=] to copy the message, we cannot pass it by reference since it
76 // will be used in another thread.
77 work_queue()->add([=]() { sender_.send(msg); });
78 }
79
80 // Thread safe
81 proton::message receive() {

Callers 15

on_sendableMethod · 0.45
on_sendableMethod · 0.45
on_messageMethod · 0.45
sendMsgMethod · 0.45
send_requestMethod · 0.45
on_sendableMethod · 0.45
on_sendableMethod · 0.45
on_messageMethod · 0.45
on_sendableMethod · 0.45
on_sendableMethod · 0.45
on_messageMethod · 0.45

Calls 2

work_queueClass · 0.50
addMethod · 0.45

Tested by

no test coverage detected