cxxtools::RemoteClient Class Reference

Base class for rpc client. More...

#include <cxxtools/remoteclient.h>

Inheritance diagram for cxxtools::RemoteClient:
cxxtools::bin::RpcClient cxxtools::json::HttpClient cxxtools::json::RpcClient cxxtools::xmlrpc::Client cxxtools::xmlrpc::HttpClient

Public Member Functions

virtual ~RemoteClient ()
virtual void beginCall (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)=0
virtual void endCall ()=0
virtual void call (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)=0
virtual const IRemoteProcedureactiveProcedure () const =0
virtual void cancel ()=0
virtual void wait (Milliseconds msecs=WaitInfinite)=0
virtual Milliseconds timeout () const =0
virtual void timeout (Milliseconds t)=0
virtual Milliseconds connectTimeout () const =0
virtual void connectTimeout (Milliseconds t)=0

Static Public Attributes

static const std::size_t WaitInfinite = static_cast<std::size_t>(-1)

Detailed Description

Base class for rpc client.

Constructor & Destructor Documentation

virtual cxxtools::RemoteClient::~RemoteClient ( )
inlinevirtual

Member Function Documentation

virtual const IRemoteProcedure* cxxtools::RemoteClient::activeProcedure ( ) const
pure virtual
virtual void cxxtools::RemoteClient::beginCall ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
pure virtual
virtual void cxxtools::RemoteClient::call ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
pure virtual
virtual void cxxtools::RemoteClient::cancel ( )
pure virtual
virtual Milliseconds cxxtools::RemoteClient::connectTimeout ( ) const
pure virtual
virtual void cxxtools::RemoteClient::connectTimeout ( Milliseconds  t)
pure virtual
virtual void cxxtools::RemoteClient::endCall ( )
pure virtual
virtual Milliseconds cxxtools::RemoteClient::timeout ( ) const
pure virtual
virtual void cxxtools::RemoteClient::timeout ( Milliseconds  t)
pure virtual
virtual void cxxtools::RemoteClient::wait ( Milliseconds  msecs = WaitInfinite)
pure virtual

Member Data Documentation

const std::size_t cxxtools::RemoteClient::WaitInfinite = static_cast<std::size_t>(-1)
static

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