MCPcopy Create free account
hub / github.com/ceph/ceph / accept

Method accept

src/tools/immutable_object_cache/CacheServer.cc:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void CacheServer::accept() {
81 CacheSessionPtr new_session = nullptr;
82
83 new_session.reset(new CacheSession(m_io_service,
84 m_server_process_msg, cct));
85
86 m_acceptor.async_accept(new_session->socket(),
87 boost::bind(&CacheServer::handle_accept, this, new_session,
88 boost::asio::placeholders::error));
89}
90
91void CacheServer::handle_accept(CacheSessionPtr new_session,
92 const boost::system::error_code& error) {

Callers 6

TEST_PFunction · 0.45
do_requestMethod · 0.45
TESTFunction · 0.45
listen_on_socketMethod · 0.45
test_acceptFunction · 0.45
dispatch_socketsMethod · 0.45

Calls 2

bindClass · 0.85
resetMethod · 0.45

Tested by 6

TEST_PFunction · 0.36
do_requestMethod · 0.36
TESTFunction · 0.36
listen_on_socketMethod · 0.36
test_acceptFunction · 0.36
dispatch_socketsMethod · 0.36