Chapter 9. Programming with OmniRpcHandle API

Table of Contents
What's OmniRpcHandle
Programming with OmniRpcHandle
Acquisition of host information.

OmniRpcHandle is a data structure used for connection with a specific remote executable program. Using OmniRpcHandle , you can write programs which keep the status on a remote executable program. And, you can allocate a remote executable program on a specific remote host.

What's OmniRpcHandle

OmniRpcHandle is a data structure which presents a connection with a specific remote executable program. OmniRpcHandle is created by activating the remote executable program which corresponds to the module with the OmniRpcCreateHandle API. Once the remote executable program is executing, remote executable programs can accept the requests of another RPC call which is inside of same module, and the program does not need to exit after finishing calculation using a function in the module.

Using this feature, you can do the following.

With OmniRpcCall API, you specify the remote function only, and call the RPCs. From function name, the client program searches for the modules which contain it. Also, on adequate remote hosts remote program can run the remote executable program which corresponds to it, and assign. However if the client program uses OmniRpcHandle API, you should program the host executable module on which the programs are allocated. The host executable module should be allocated on a remote host. However, problems may arise when remote executable modules fail or are unavailable due to a timeout.