NAME

GRPC_OBJECT_HANDLE_INIT_NP - Initializes an object handle.

SYNOPSIS

INTEGER FUNCTION GRPC_OBJECT_HANDLE_INIT_NP(HANDLE, SERV_NAME, CLASS_NAME)

ARGUMENTS

INTEGER(KIND=8) HANDLE
The object handle to be initialized
CHARACTER SERV_NAME(*)
The host name (resource manager contact) of the remote machine.
CHARACTER CLASS_NAME(*)
The class to be executed on the remote machine

DESCRIPTION

The GRPC_OBJECT_HANDLE_INIT_NP() function initializes an object handle.

The SERV_NAME argument can be specified as the same way with SERV_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$