MCPcopy Create free account
hub / github.com/ImageEngine/cortex / handleAccept

Method handleAccept

src/IECoreImage/DisplayDriverServer.cpp:307–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void DisplayDriverServer::handleAccept( DisplayDriverServer::SessionPtr session, const boost::system::error_code& error)
308{
309 if (!error)
310 {
311 DisplayDriverServer::SessionPtr newSession( new DisplayDriverServer::Session( m_data->m_service, m_data->m_mergeMap ) );
312 m_data->m_acceptor.async_accept( newSession->socket(),
313 boost::bind( &DisplayDriverServer::handleAccept, this, newSession,
314 boost::asio::placeholders::error));
315 session->start();
316 }
317}
318
319/*
320 * DisplayDriverServer::Session functions

Callers

nothing calls this directly

Calls 2

bindFunction · 0.50
startMethod · 0.45

Tested by

no test coverage detected