NAME

grpc_invoke_async_with_attr_np - Executes an RPC.

SYNOPSIS

grpc_error_t grpc_invoke_async_with_attr_np( grpc_object_handle_t_np *handle, char *method_name, grpc_sessionid_t *session_id, grpc_session_attr_t_np *session_attr, ...)

ARGUMENTS

grpc_object_handle_t_np *handle
The object handle
char *method_name
The method name
grpc_sessionid_t *session_id
The session ID
grpc_session_attr_t_np *session_attr
The attributes of the session
Other arguments
Arguments to be passed to the function called by RPC

DESCRIPTION

The grpc_invoke_async_with_attr_np() function calls the method defined by the object handle. The grpc_invoke_async_with_attr_np() function does not wait for the called method to complete execution.

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: 2010-04-16 01:09:23 +0900 (金, 16 4月 2010) $