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

Method to

cpp/src/message.cpp:138–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void message::to(const std::string &addr) {
139 check(pn_message_set_address(pn_msg(), addr.c_str()));
140}
141
142std::string message::to() const {
143 const char* addr = pn_message_get_address(pn_msg());

Callers 7

test_message_defaultsFunction · 0.45
test_message_propertiesFunction · 0.45
test_message_printFunction · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45
on_messageMethod · 0.45

Calls 4

c_strMethod · 0.80
checkFunction · 0.70
pn_message_set_addressFunction · 0.50
pn_message_get_addressFunction · 0.50

Tested by 3

test_message_defaultsFunction · 0.36
test_message_propertiesFunction · 0.36
test_message_printFunction · 0.36