MACE  1.0.0
 All Classes Namespaces Files Functions Variables Enumerations Defines
Public Types | Public Member Functions
mace::rpc::json::client< InterfaceType > Class Template Reference

#include <client.hpp>

Inheritance diagram for mace::rpc::json::client< InterfaceType >:
mace::stub::ptr< InterfaceType, mace::rpc::json::client_interface >

List of all members.

Public Types

typedef boost::shared_ptr< clientptr

Public Member Functions

 client (const client &c)
bool operator! () const
clientoperator= (const client &c)
 client (const mace::rpc::json::connection::ptr &c)
 client (const std::string &host, uint16_t port)

Detailed Description

template<typename InterfaceType>
class mace::rpc::json::client< InterfaceType >

Given a connection, map methods on InterfaceType into RPC calls with the expected results returned as futures as defined by rpc::client_interface

Todo:
  • make client_interface take a pointer to client_base to enable the construction of one client<Interface> and then quickly change the connection object without having to iterate over the methods again.

Definition at line 18 of file client.hpp.


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