grpc_object_handle_default_np
- Initializes an object handle.
grpc_error_t grpc_object_handle_default_np(grpc_object_handle_t_np *handle,
char *class_name)
grpc_object_handle_t_np *handle
char *class_name
The grpc_object_handle_default_np() function initializes object handles. For the remote machine host name, the default remote host name specified in the configuration file is used.
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