libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | Protected Member Functions | Friends | List of all members
iqxmlrpc::Client_base Class Referenceabstract

#include <client.h>

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

Public Member Functions

 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.
 

Protected Member Functions

int timeout () const
 

Friends

class Auto_conn
 

Detailed Description

Client base class. It is responsible for performing RPC calls and connection management.

Member Function Documentation

void iqxmlrpc::Client_base::set_timeout ( int  seconds)

Set connection timeout.

Parameters
secondsTO value in seconds, negative number means infinity.

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