grpc_object_handle_array_default_np
- Initializes an object handle.
INTEGER FUNCTION GRPC_OBJECT_HANDLE_ARRAY_DEFAULT_NP(HANDLES, N, CLASS_NAME)
INTEGER(KIND=8) HANDLES(*)
INTEGER N
CHARACTER CLASS_NAME(*)
The GRPC_OBJECT_HANDLE_ARRAY_DEFAULT_NP() function initializes an object handle. For the remote machine host name, the default remote host name specified in the configuration file is used.
This function is MT-safe.
The handle initialized by this function need be destructed by GRPC_OBJECT_HANDLE_ARRAY_DESTRUCT_NP(). GRPC_OBJECT_HANDLE_DESTRUCT_NP() must not be used.
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