GRPC_SESSION_INFO_GET_NP
- Get session information.
INTEGER FUNCTION GRPC_SESSION_INFO_GET_NP(SID, SESSION_INFO, STATUS)
INTEGER SID
INTEGER(KIND=8) SESSION_INFO
INTEGER STATUS
The GRPC_SESSION_INFO_GET_NP() function returns information on the specified session.
The storage of session information was allocated in this function. Release the session information by GRPC_SESSION_INFO_RELEASE_NP() when it becomes unnecessary.
The following functions are available to access to members of the session information.
Refer to the following for return status.
GRPC_SESSION_ARG_IS_NOT_TRANSMITTED
GRPC_SESSION_EXECUTING
GRPC_SESSION_DOWN
GRPC_SESSION_DONE
GRPC_SESSION_UNKNOWN_STATUS
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_INVALID_SESSION_ID
GRPC_OTHER_ERROR_CODE