NAME

grpc_invoke_arg_stack_with_attr_np - Executes an RPC.

SYNOPSIS

int grpc_invoke_arg_stack_with_attr_np(grpc_object_handle_t_np *handle, char *method_name, grpc_session_attr_t_np *session_attr, grpc_arg_stack_t *stack)

ARGUMENTS

grpc_object_handle_t_np *handle
The object handle
char *method_name
The method name
grpc_session_attr_t_np *session_attr
The attributes of the session
grpc_arg_stack_t *stack
The stack for storing arguments to be passed to the function called in the RPC

DESCRIPTION

The grpc_invoke_arg_stack_with_attr_np() function calls the method defined by the object handle. The grpc_invoke_arg_stack_with_attr_np() function is blocked until the execution of the called method is completed.

This function is MT-safe.

RETURN VALUE

If successful, 0 is returned. In the case of an error, -1 is returned.

ERRORS

GRPC_NOT_INITIALIZED
The grpc_initialize() function has not been executed.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date: 2010-04-16 01:09:23 +0900 (金, 16 4月 2010) $