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

Function check_condition

c/benchmarks/connection-driver.cpp:435–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435static void check_condition(pn_event_t *e, pn_condition_t *cond) {
436 if (VERBOSE)
437 printf("beginning check_condition\n");
438 if (pn_condition_is_set(cond)) {
439 if (VERBOSE || ERRORS)
440 fprintf(stderr, "%s: %s: %s\n", pn_event_type_name(pn_event_type(e)),
441 pn_condition_get_name(cond), pn_condition_get_description(cond));
442 }
443}
444
445///* Copies output from first connection driver into input of the second. */
446static void shovel(pn_connection_driver_t &sender, pn_connection_driver_t &receiver) {

Callers 2

handle_senderFunction · 0.70
handle_receiverFunction · 0.70

Calls 5

pn_condition_is_setFunction · 0.85
pn_event_typeFunction · 0.85
pn_event_type_nameFunction · 0.50
pn_condition_get_nameFunction · 0.50

Tested by

no test coverage detected