Kolibri library – API Documentation

Header image

Main page

KolibriErr KOLIBRI_FUNC_ATTR kolibriCallRpc ( json::Base **  response,
char const *  server,
char const *  method,
json::Obj *  params 

Invokes a remote procedure call.

This function can be used to invoke a remote procedure call on a server.

responseResult of the RPC or error object if the result of this function is KOLIBRI_ERR_RPC. The memory for the response will be allocated by the library. The caller must free this memory.
serverName of the server (user name) if the server is a Producer or a Consumer. Pass an empty string when invoking RPCs on the Broker.
methodName of the RPC method to be called
paramsParameters for the RPC. Parameters are always passed by name.
Returns one of the following codes:

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10