| 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() { |
nothing calls this directly
no test coverage detected