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

Function pn_handler_dispatch

c/src/reactor/handler.c:102–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void pn_handler_dispatch(pn_handler_t *handler, pn_event_t *event, pn_event_type_t type) {
103 assert(handler);
104 if (handler->dispatch) {
105 handler->dispatch(handler, event, type);
106 }
107 if (handler->children) {
108 size_t n = pn_list_size(handler->children);
109 for (size_t i = 0; i < n; i++) {
110 pn_handler_t *child = (pn_handler_t *) pn_list_get(handler->children, i);
111 pn_handler_dispatch(child, event, type);
112 }
113 }
114}

Callers 1

pn_reactor_processFunction · 0.85

Calls 3

pn_list_sizeFunction · 0.85
pn_list_getFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected