strusRpc
0.17
|
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 | |
RpcClientInterface * | createRpcClient (RpcClientMessagingInterface *connector, ErrorBufferInterface *errorhnd) |
Creates an RPC Client connection to the server. More... | |
RpcClientMessagingInterface * | createRpcClientMessaging (const std::string &config, ErrorBufferInterface *errorhnd) |
Create a messaging interface for the strus RPC Client based on sockets. More... | |
strus toplevel namespace
RpcClientInterface* strus::createRpcClient | ( | RpcClientMessagingInterface * | connector, |
ErrorBufferInterface * | errorhnd | ||
) |
Creates an RPC Client connection to the server.
[in] | connector | interface (passed with ownership) to use for sending and receiving messages to and from the server |
[in] | errorhnd | buffer for reporting errors |
RpcClientMessagingInterface* strus::createRpcClientMessaging | ( | const std::string & | config, |
ErrorBufferInterface * | errorhnd | ||
) |
Create a messaging interface for the strus RPC Client based on sockets.
[in] | config | configuration string for connecting to the server |
[in] | errorhnd | buffer for reporting errors |