libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
iqxmlrpc::Client< TRANSPORT > Class Template Reference

#include <client.h>

Inheritance diagram for iqxmlrpc::Client< TRANSPORT >:
iqxmlrpc::Client_base

Public Member Functions

 Client (const iqnet::Inet_addr &addr, const std::string &uri="/RPC", const std::string &vhost="")
 
- Public Member Functions inherited from iqxmlrpc::Client_base
 Client_base (const iqnet::Inet_addr &addr, const std::string &uri, const std::string &vhost)
 
Response execute (const std::string &, const Param_list &)
 Perform Remote Procedure Call.
 
Response execute (const std::string &method, const Value &val)
 Perform Remote Procedure Call with only one parameter transfered.
 
void set_proxy (const iqnet::Inet_addr &)
 Set address where actually connect to. Tested with HTTP only.
 
void set_timeout (int seconds)
 Set connection timeout. More...
 
void set_keep_alive (bool keep_alive)
 Set connection keep-alive flag.
 
void set_authinfo (const std::string &user, const std::string &password)
 Set data for HTTP Basic authentication.
 

Additional Inherited Members

- Protected Member Functions inherited from iqxmlrpc::Client_base
int timeout () const
 

Detailed Description

template<class TRANSPORT>
class iqxmlrpc::Client< TRANSPORT >

Template of concrete client class. It is responsible for conneciton establishment (i.e. initialization of a concrete transport).

Constructor & Destructor Documentation

template<class TRANSPORT >
iqxmlrpc::Client< TRANSPORT >::Client ( const iqnet::Inet_addr addr,
const std::string &  uri = "/RPC",
const std::string &  vhost = "" 
)
inline
Parameters
addrActual server address;
uriRequested URI (default "/RPC");
hostRequested virtual host (by default calculated form addr).

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