cxxtools::xmlrpc::Client Class Reference

#include <cxxtools/xmlrpc/client.h>

Inheritance diagram for cxxtools::xmlrpc::Client:
cxxtools::RemoteClient cxxtools::xmlrpc::HttpClient

Public Member Functions

 Client ()
virtual ~Client ()
void beginCall (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)
 This method is used internally to initiate a rpc request.
void endCall ()
 This method is used internally to finalize a rpc request.
void call (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)
 This method is used internally to initiate a rpc request.
Milliseconds timeout () const
 Returns the timeout for syncronous requests.
void timeout (Milliseconds t)
 Sets the timeout for syncronous requests.
Milliseconds connectTimeout () const
void connectTimeout (Milliseconds t)
std::string url () const
const IRemoteProcedureactiveProcedure () const
void cancel ()
- Public Member Functions inherited from cxxtools::RemoteClient
virtual ~RemoteClient ()
virtual void wait (Milliseconds msecs=WaitInfinite)=0

Protected Member Functions

 Client (Client &c)
Clientoperator= (const Client &c)
void impl (ClientImpl *i)

Additional Inherited Members

- Static Public Attributes inherited from cxxtools::RemoteClient
static const std::size_t WaitInfinite = static_cast<std::size_t>(-1)

Constructor & Destructor Documentation

cxxtools::xmlrpc::Client::Client ( Client c)
inlineprotected
cxxtools::xmlrpc::Client::Client ( )
inline
virtual cxxtools::xmlrpc::Client::~Client ( )
virtual

Member Function Documentation

const IRemoteProcedure* cxxtools::xmlrpc::Client::activeProcedure ( ) const
virtual
void cxxtools::xmlrpc::Client::beginCall ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
virtual

This method is used internally to initiate a rpc request.

Implements cxxtools::RemoteClient.

void cxxtools::xmlrpc::Client::call ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
virtual

This method is used internally to initiate a rpc request.

Implements cxxtools::RemoteClient.

void cxxtools::xmlrpc::Client::cancel ( )
virtual
Milliseconds cxxtools::xmlrpc::Client::connectTimeout ( ) const
virtual
void cxxtools::xmlrpc::Client::connectTimeout ( Milliseconds  t)
virtual
void cxxtools::xmlrpc::Client::endCall ( )
virtual

This method is used internally to finalize a rpc request.

Implements cxxtools::RemoteClient.

void cxxtools::xmlrpc::Client::impl ( ClientImpl *  i)
inlineprotected
Client& cxxtools::xmlrpc::Client::operator= ( const Client c)
inlineprotected
Milliseconds cxxtools::xmlrpc::Client::timeout ( ) const
virtual

Returns the timeout for syncronous requests.

When the timeout exprires before the request returns, a cxxtools::IOTimeout is thrown. On negative timeout the client will wait infinitely. This is the default.

Implements cxxtools::RemoteClient.

void cxxtools::xmlrpc::Client::timeout ( Milliseconds  t)
virtual

Sets the timeout for syncronous requests.

Implements cxxtools::RemoteClient.

std::string cxxtools::xmlrpc::Client::url ( ) const

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