Remote objects map onto an object-like C struct
providing a
call()
method. call()
takes the same parameters as the
corresponing service definition and returns genom_ok
on
success, or a genom_event
exception representing an error code.
For instance, the following IDL:
interface i { function f(in long i, out double o); }; component c { uses i; };
would map into
typedef struct c_f { genom_event (*call)(uint32_t i, double *o); } c_f;
The remote service is invoked in a synchronous manner.