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

Method accept

flow/Net2.actor.cpp:901–904  ·  view source on GitHub ↗

This is not part of the IConnection interface, because it is wrapped by IListener::accept()

Source from the content-addressed store, hash-verified

899
900 // This is not part of the IConnection interface, because it is wrapped by IListener::accept()
901 void accept(NetworkAddress peerAddr) {
902 this->peer_address = peerAddr;
903 init();
904 }
905
906 ACTOR static void doAcceptHandshake(Reference<SSLConnection> self, Promise<Void> connected) {
907 state Hold<int> holder;

Callers

nothing calls this directly

Calls 1

initFunction · 0.70

Tested by

no test coverage detected