grpc_object_handle_init_np
- Initializes an object handle.
grpc_error_t grpc_object_handle_init_np(
grpc_object_handle_t_np *handle,
char *server_name,
char *class_name)
grpc_object_handle_t_np *handle
char *server_name
char *class_name
The grpc_object_handle_init_np() function initializes an object handle.
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.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED
GRPC_SERVER_NOT_FOUND
GRPC_FUNCTION_NOT_FOUND
GRPC_RPC_REFUSED
GRPC_OTHER_ERROR_CODE