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

Method address

cpp/src/source.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47{}
48
49std::string source::address() const {
50 pn_terminus_t *authoritative = object_;
51 if (parent_ && pn_terminus_is_dynamic(object_))
52 authoritative = pn_link_source(parent_);
53 return str(pn_terminus_get_address(authoritative));
54}
55
56enum source::distribution_mode source::distribution_mode() const {
57 return (enum distribution_mode)pn_terminus_get_distribution_mode(object_);

Callers 15

on_sender_openMethod · 0.45
on_receiver_openMethod · 0.45
test_link_addressFunction · 0.45
message_encodeMethod · 0.45
on_message_handlerMethod · 0.45
on_sender_openMethod · 0.45
boundQueueMethod · 0.45
boundQueueMethod · 0.45
on_sender_openMethod · 0.45
on_receiver_openMethod · 0.45
send_requestMethod · 0.45

Calls 4

pn_terminus_is_dynamicFunction · 0.85
pn_link_sourceFunction · 0.85
strFunction · 0.70
pn_terminus_get_addressFunction · 0.50

Tested by 5

on_sender_openMethod · 0.36
on_receiver_openMethod · 0.36
test_link_addressFunction · 0.36
test_link_optionsMethod · 0.36