NAME

grpc_object_handle_array_init_np - grpc_object_handle_array_init_np - Initializes an object handle.

SYNOPSIS

grpc_error_t grpc_object_handle_array_init_np( grpc_object_handle_t_np *handles, size_t nhandles, char *server_name, char *class_name)

ARGUMENTS

grpc_object_handle_t_np *handles
The object handle to be initialized
size_t nhandles
The number of object handles to be initialized
char *server_name
The host name (resource manager contact) of the remote machine.
char *class_name
The class to be executed on the remote machine

DESCRIPTION

The grpc_object_handle_array_init_np() initializes the object handles.

The server_name argument can be specified as the same way with server_name argument in grpc_function_handle_init().

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 any server.
GRPC_FUNCTION_NOT_FOUND
GRPC client cannot find the function on the default server.
GRPC_RPC_REFUSED
GRPC server refused the initialization.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date: 2005/10/25 02:01:04 $