47 #ifndef _MIRA_REMOTESERVER_H_ 48 #define _MIRA_REMOTESERVER_H_ 61 class RemoteIncomingConnection;
80 void handleAccept(
const boost::system::error_code& error);
93 void run(std::size_t threadCount=0,
bool runInThisThread=
true);
105 return mAcceptor.local_endpoint().port();
Typedefs for OS independent basic data types.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
boost::asio::ip::tcp::acceptor mAcceptor
Definition: RemoteServer.h:110
The framework module responsible for connections to remote frameworks.
void stop()
Stop the server.
Server class handling incoming connections from remote frameworks.
Definition: RemoteServer.h:66
~RemoteServer()
Destructor. Stops server.
RemoteServer(uint16 port)
Constructs a server that listens on the given port.
A proxy object that represents a connection.
Definition: RemoteConnectionPool.h:53
void run(std::size_t threadCount=0, bool runInThisThread=true)
Runs the server with the given number of threads.
RemoteConnectionProxy mPendingConnection
Definition: RemoteServer.h:111
void handleAccept(const boost::system::error_code &error)
Connection handler.
Wrapper class for boost::asio::io_service.
Definition: IOService.h:75
uint16 getPort() const
Returns the port of the server.
Definition: RemoteServer.h:103
IOService mService
Definition: RemoteServer.h:109
Wrapper for boost::asio::io_service.