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

Method SSLConnection

flow/Net2.actor.cpp:847–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845 void close() override { closeSocket(); }
846
847 explicit SSLConnection(boost::asio::io_service& io_service,
848 Reference<ReferencedObject<boost::asio::ssl::context>> context)
849 : id(nondeterministicRandom()->randomUniqueID()), socket(io_service), ssl_sock(socket, context->mutate()),
850 sslContext(context), has_trusted_peer(false) {}
851
852 explicit SSLConnection(Reference<ReferencedObject<boost::asio::ssl::context>> context, tcp::socket* existingSocket)
853 : id(nondeterministicRandom()->randomUniqueID()), socket(std::move(*existingSocket)),

Callers

nothing calls this directly

Calls 4

nondeterministicRandomFunction · 0.85
moveFunction · 0.85
randomUniqueIDMethod · 0.80
mutateMethod · 0.65

Tested by

no test coverage detected