MCPcopy Create free account
hub / github.com/apple/foundationdb / connectHandshake

Method connectHandshake

fdbrpc/sim2.actor.cpp:255–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253
254 Future<Void> acceptHandshake() override { return delay(0.01 * deterministicRandom()->random01()); }
255 Future<Void> connectHandshake() override { return delay(0.01 * deterministicRandom()->random01()); }
256
257 Future<Void> onWritable() override { return whenWritable(this); }
258 Future<Void> onReadable() override { return whenReadable(this); }

Calls 3

delayFunction · 0.85
deterministicRandomFunction · 0.85
random01Method · 0.80

Tested by 1

Future<Void> doSessionFunction · 0.36