NAME

GRPC_SESSION_INFO_GET_NP - Get session information.

SYNOPSIS

INTEGER FUNCTION GRPC_SESSION_INFO_GET_NP(SID, SESSION_INFO, STATUS)

ARGUMENTS

INTEGER SID
The session ID
INTEGER(KIND=8) SESSION_INFO
The session information
INTEGER STATUS
The session status

DESCRIPTION

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
Transmission of the arguments to the stub has not been completed.
GRPC_SESSION_EXECUTING
The session is in progress.
GRPC_SESSION_DOWN
The session is not being executed.
GRPC_SESSION_DONE
The session has ended.
GRPC_SESSION_UNKNOWN_STATUS
API was failed.

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_INVALID_SESSION_ID
Session ID is not valid.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date$