OpenDaVINCI  4.15.3
odcore::dmcp::connection::Server Class Reference

#include <Server.h>

Inheritance diagram for odcore::dmcp::connection::Server:
Inheritance graph

Public Member Functions

 Server (const odcore::data::dmcp::ServerInformation &serverInformation, ModuleConfigurationProvider &configProvider)
 
virtual ~Server ()
 
void setConnectionHandler (ConnectionHandler *connectionHandler)
 

Protected Member Functions

virtual void onNewConnection (std::shared_ptr< odcore::io::Connection > connection)
 

Protected Attributes

odcore::base::Mutex m_configProviderMutex
 
ModuleConfigurationProviderm_configProvider
 
odcore::base::Mutex m_connectionHandlerMutex
 
ConnectionHandlerm_connectionHandler
 
odcore::io::ConnectionAcceptor m_acceptor
 

Constructor & Destructor Documentation

odcore::dmcp::connection::Server::Server ( const odcore::data::dmcp::ServerInformation &  serverInformation,
ModuleConfigurationProvider configProvider 
)
odcore::dmcp::connection::Server::~Server ( )
virtual

Member Function Documentation

void odcore::dmcp::connection::Server::onNewConnection ( std::shared_ptr< odcore::io::Connection connection)
protectedvirtual
void odcore::dmcp::connection::Server::setConnectionHandler ( ConnectionHandler connectionHandler)

Member Data Documentation

odcore::io::ConnectionAcceptor odcore::dmcp::connection::Server::m_acceptor
protected
ModuleConfigurationProvider& odcore::dmcp::connection::Server::m_configProvider
protected
odcore::base::Mutex odcore::dmcp::connection::Server::m_configProviderMutex
protected
ConnectionHandler* odcore::dmcp::connection::Server::m_connectionHandler
protected
odcore::base::Mutex odcore::dmcp::connection::Server::m_connectionHandlerMutex
protected