NAME
grpc_get_last_info_np
- Returns the information on the last session that was run.
SYNOPSIS
grpc_error_t grpc_get_last_info_np(grpc_exec_info_t_np *info,
int *status)
ARGUMENTS
grpc_exec_info_t_np *info
- The session information
int *status
- The session status
DESCRIPTION
Not recommend. Use grpc_session_info_get_np() instead.
The grpc_get_last_info_np() function returns the information on the last-executed session.
If NULL is specified in info, only the status of the session is returned as the return value.
See the manual of grpc_get_info_np() for details of info.
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_OTHER_ERROR_CODE
- Internal error detected.
last update : $Date: 2005/07/11 07:11:24 $