cxxtools::json::RpcClient Class Reference

#include <cxxtools/json/rpcclient.h>

Inheritance diagram for cxxtools::json::RpcClient:
cxxtools::RemoteClient

Public Member Functions

 RpcClient ()
 RpcClient (SelectorBase &selector)
 RpcClient (const net::AddrInfo &addr)
 RpcClient (const std::string &addr, unsigned short port)
 RpcClient (const net::Uri &uri)
 RpcClient (SelectorBase &selector, const net::AddrInfo &addr)
 RpcClient (SelectorBase &selector, const std::string &addr, unsigned short port)
 RpcClient (SelectorBase &selector, const net::Uri &uri)
 RpcClient (const RpcClient &)
RpcClientoperator= (const RpcClient &)
virtual ~RpcClient ()
void prepareConnect (const net::AddrInfo &addr)
void prepareConnect (const std::string &addr, unsigned short port)
void prepareConnect (const net::Uri &uri)
void ssl (bool sw)
void connect (const net::AddrInfo &addrinfo, bool ssl_=false)
void connect (const std::string &host, unsigned short int port, bool ssl_=false)
void connect (const net::Uri &uri)
void connect ()
void close ()
void setSelector (SelectorBase &selector)
void beginCall (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)
void endCall ()
void call (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)
Milliseconds timeout () const
void timeout (Milliseconds t)
Milliseconds connectTimeout () const
void connectTimeout (Milliseconds t)
const IRemoteProcedureactiveProcedure () const
void cancel ()
void wait (Milliseconds msecs=WaitInfinite)
const std::string & prefix () const
void prefix (const std::string &p)
- Public Member Functions inherited from cxxtools::RemoteClient
virtual ~RemoteClient ()

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::json::RpcClient::RpcClient ( )
inline
cxxtools::json::RpcClient::RpcClient ( SelectorBase selector)
inlineexplicit
cxxtools::json::RpcClient::RpcClient ( const net::AddrInfo addr)
explicit
cxxtools::json::RpcClient::RpcClient ( const std::string &  addr,
unsigned short  port 
)
cxxtools::json::RpcClient::RpcClient ( const net::Uri uri)
explicit
cxxtools::json::RpcClient::RpcClient ( SelectorBase selector,
const net::AddrInfo addr 
)
cxxtools::json::RpcClient::RpcClient ( SelectorBase selector,
const std::string &  addr,
unsigned short  port 
)
cxxtools::json::RpcClient::RpcClient ( SelectorBase selector,
const net::Uri uri 
)
cxxtools::json::RpcClient::RpcClient ( const RpcClient )
virtual cxxtools::json::RpcClient::~RpcClient ( )
virtual

Member Function Documentation

const IRemoteProcedure* cxxtools::json::RpcClient::activeProcedure ( ) const
virtual
void cxxtools::json::RpcClient::beginCall ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
virtual
void cxxtools::json::RpcClient::call ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
virtual
void cxxtools::json::RpcClient::cancel ( )
virtual
void cxxtools::json::RpcClient::close ( )
void cxxtools::json::RpcClient::connect ( const net::AddrInfo addrinfo,
bool  ssl_ = false 
)
inline
void cxxtools::json::RpcClient::connect ( const std::string &  host,
unsigned short int  port,
bool  ssl_ = false 
)
inline
void cxxtools::json::RpcClient::connect ( const net::Uri uri)
inline
void cxxtools::json::RpcClient::connect ( )
Milliseconds cxxtools::json::RpcClient::connectTimeout ( ) const
virtual
void cxxtools::json::RpcClient::connectTimeout ( Milliseconds  t)
virtual
void cxxtools::json::RpcClient::endCall ( )
virtual
RpcClient& cxxtools::json::RpcClient::operator= ( const RpcClient )
const std::string& cxxtools::json::RpcClient::prefix ( ) const
void cxxtools::json::RpcClient::prefix ( const std::string &  p)
void cxxtools::json::RpcClient::prepareConnect ( const net::AddrInfo addr)
void cxxtools::json::RpcClient::prepareConnect ( const std::string &  addr,
unsigned short  port 
)
void cxxtools::json::RpcClient::prepareConnect ( const net::Uri uri)
void cxxtools::json::RpcClient::setSelector ( SelectorBase selector)
void cxxtools::json::RpcClient::ssl ( bool  sw)
Milliseconds cxxtools::json::RpcClient::timeout ( ) const
virtual
void cxxtools::json::RpcClient::timeout ( Milliseconds  t)
virtual
void cxxtools::json::RpcClient::wait ( Milliseconds  msecs = WaitInfinite)
virtual

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