listens for incoming connections and create a new session for servicing those connections. More...
#include <server.hpp>
Inherited by mace::rpc::tcp::server< InterfaceType, ConnectionType >.
Public Types | |
typedef boost::shared_ptr< server > | ptr |
typedef ConnectionType | connection_type |
Public Member Functions | |
template<typename SessionType > | |
server (const boost::function< boost::shared_ptr< SessionType >()> &sg) | |
template<typename SessionType > | |
server (const boost::shared_ptr< SessionType > &shared_session) | |
Protected Attributes | |
boost::scoped_ptr < session_creator > | sc |
This is the base class that implements the session creation and method registration code. Derived classes will provide UDP,TCP,HTTP, or other server types. The server is templated upon the type of connection that it will be accepting.
Definition at line 18 of file server.hpp.