MACE  1.0.0
 All Classes Namespaces Files Functions Variables Enumerations Defines
Public Types | Public Member Functions | Protected Attributes
mace::rpc::server< InterfaceType, ConnectionType > Class Template Reference

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 >.

List of all members.

Public Types

typedef boost::shared_ptr< serverptr
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

Detailed Description

template<typename InterfaceType, typename ConnectionType>
class mace::rpc::server< InterfaceType, ConnectionType >

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.


The documentation for this class was generated from the following file: