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

Method dispatch

c/tests/pn_test.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 receiver(), delivery(), message() {}
96
97bool handler::dispatch(pn_event_t *e) {
98 log.push_back(pn_event_type(e));
99 if (pn_event_condition(e)) {
100 pn_condition_copy(last_condition, pn_event_condition(e));
101 } else {
102 pn_condition_clear(last_condition);
103 }
104 return handle(e);
105}
106
107etypes handler::log_clear() {
108 etypes ret;

Callers 3

pn_handler_dispatchFunction · 0.45
drain_eventsMethod · 0.45
runMethod · 0.45

Calls 5

pn_event_typeFunction · 0.85
pn_event_conditionFunction · 0.85
pn_condition_copyFunction · 0.85
pn_condition_clearFunction · 0.85
handleFunction · 0.70

Tested by

no test coverage detected