| 305 | } |
| 306 | |
| 307 | void 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 |