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

#include <http_client.hpp>

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

List of all members.

Public Types

typedef boost::shared_ptr
< http_client
ptr

Public Member Functions

 http_client (const std::string &url)
 http_client (const http_client &c)
bool operator! () const

Detailed Description

template<typename InterfaceType>
class mace::rpc::json::http_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 19 of file http_client.hpp.


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