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

Method process

cpp/src/connection_driver_test.cpp:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 timestamp process(timestamp t = timestamp()) {
96 check_idle();
97 if (!dispatch())
98 throw test::error("unexpected close: "+connection().error().what());
99 timestamp next_tick;
100 if (t!=timestamp()) next_tick = tick(t);
101 do_read();
102 do_write();
103 check_idle();
104 dispatch();
105 return next_tick;
106 }
107};
108
109/// A pair of drivers that talk to each other in-memory, simulating a connection.

Callers

nothing calls this directly

Calls 5

errorClass · 0.85
connectionClass · 0.70
timestampClass · 0.50
whatMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected