User`s guide
LUC API Reference [H]
Gets the ID of the endpoint. This method is valid only after startService has
returned.
Return Codes
This method returns the endpoint's identifier on successful completion.
LUC_ENDPOINT_INVALID
The endpoint is invalid because the service has not yet been started.
To start the service, use the startService method.
H.3.4 remoteCall Method
Makes an asynchronous remote procedure call.
Syntax
luc_error_t remoteCall(luc_endpoint_id_t serverEndpoint,
luc_service_type_t serviceType,
int serviceFunctionIndex,
void *userData,
size_t userDataLen,
void * userHandle,
LUC_Completion_Handler userCompletionHandler);
The asynchronous RPC mechanism is useful in cases where the caller does not need
assurance that the remote call actually happened. Locally detected errors may be
returned but remote errors are not returned directly. Remote-side success or failure
are returned if the caller provides a completion handler. The completion handler is
guaranteed to execute once and only once—when the remote call is known to have
executed or has been abandoned.
This method call is valid only on started objects. Multiple concurrent callers of this
method and the synchronous version are supported.
S–2479–20 151