OmniRpcCall

Name

OmniRpcCall -- Synchronous call of remote function

Synopsis

#include <OmniRpc.h>

int OmniRpcCall(const char *entry_name, ...);

Description

Calls a remote function which is specified by entry_name. It blocks the caller thread until the end of the function call.

It searches for the function name from modules which are registered on the one of remote hosts which are described in the hostfile, and calls the function on the appropriate remote host. If the function name is not found, it returns OMRPC_ERROR. If it ends normally, it returns OMRPC_OK.