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

Method timed_driver_pair

cpp/src/connection_driver_test.cpp:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 timestamp now;
133
134 timed_driver_pair(duration t, const connection_options& oa0, const connection_options& ob0,
135 const std::string& name=""
136 ) :
137 timeout(t),
138 a(ba, ab, name+"a"), b(ab, ba, name+"b"),
139 now(100100100)
140 {
141 connection_options oa(oa0);
142 connection_options ob(ob0);
143 a.connect(oa.idle_timeout(t));
144 b.accept(ob.idle_timeout(t));
145 }
146
147 void process_untimed() { a.process(); b.process(); }
148 void process_timed_succeed() {

Callers

nothing calls this directly

Calls 3

connectMethod · 0.45
idle_timeoutMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected