NAME
grpc_call_async
- Executes an RPC.
SYNOPSIS
grpc_error_t grpc_call_async(
grpc_function_handle_t *handle,
grpc_sessionid_t *session_id,
...)
ARGUMENTS
grpc_function_handle_t *handle
- The function handle
grpc_sessionid_t *session_id
- The session ID
Other arguments
- The arguments passed to the function called by the RPC
DESCRIPTION
The grpc_call_async() calls the function defined by the function handle.
The grpc_call_async() does not wait for completion of the called function.
This function is MT-safe.
RETURN VALUE
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
ERRORS
GRPC_NOT_INITIALIZED
- GRPC client is not initialized yet.
GRPC_SERVER_NOT_FOUND
- GRPC client cannot find the specified server.
GRPC_FUNCTION_NOT_FOUND
- GRPC client cannot find the function on the specified server.
GRPC_INVALID_FUNCTION_HANDLE
- Function handle specified by handle is invalid.
GRPC_RPC_REFUSED
- RPC invocation was refused by the server, possibly because of a security issue.
GRPC_COMMUNICATION_FAILED
- Communication with the server failed somehow.
GRPC_TIMEOUT_NP
- Timeout occurred in session.
GRPC_OTHER_ERROR_CODE
- Internal error detected.
last update : $Date: 2005/11/18 08:19:13 $