strusRpc  0.17
Classes | Functions
strus Namespace Reference

strus toplevel namespace More...

Classes

class  RpcClientInterface
 Interface providing a mechanism to create and address objects residing on server side. More...
 
class  RpcClientMessagingInterface
 Interface providing a mechanism for the client to send and receive messages. More...
 

Functions

RpcClientInterfacecreateRpcClient (RpcClientMessagingInterface *connector, ErrorBufferInterface *errorhnd)
 Creates an RPC Client connection to the server. More...
 
RpcClientMessagingInterfacecreateRpcClientMessaging (const std::string &config, ErrorBufferInterface *errorhnd)
 Create a messaging interface for the strus RPC Client based on sockets. More...
 

Detailed Description

strus toplevel namespace

Function Documentation

RpcClientInterface* strus::createRpcClient ( RpcClientMessagingInterface *  connector,
ErrorBufferInterface *  errorhnd 
)

Creates an RPC Client connection to the server.

Parameters
[in]connectorinterface (passed with ownership) to use for sending and receiving messages to and from the server
[in]errorhndbuffer for reporting errors
RpcClientMessagingInterface* strus::createRpcClientMessaging ( const std::string &  config,
ErrorBufferInterface *  errorhnd 
)

Create a messaging interface for the strus RPC Client based on sockets.

Parameters
[in]configconfiguration string for connecting to the server
[in]errorhndbuffer for reporting errors