MCPcopy Create free account
hub / github.com/apache/mesos / Server

Method Server

3rdparty/libprocess/src/http.cpp:2381–2388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2379
2380
2381Server::Server(
2382 network::Socket&& socket,
2383 std::function<Future<Response>(const network::Socket&, const Request&)>&& f)
2384 : socket(socket),
2385 process(new ServerProcess(std::move(socket), std::move(f)))
2386{
2387 spawn(*process);
2388}
2389
2390
2391Server::~Server()

Callers

nothing calls this directly

Calls 1

spawnFunction · 0.70

Tested by

no test coverage detected