Main Page | Modules | Class List | File List | Class Members | File Members

# Callbacks
[Remote Algorithm Execution Service]

List of the callbacks available in the remote algorithm execution service. More...

## Typedefs
typedef GSvoid(* | RemoteAlgorithm_OutputCB )(const GSvoid *pData, GSuint uiRequestId, GSRESULT rResult, const RAE_VALUE *pOutput, GSuint uiNumOutput)
| Callback that will receive the output of an algorithm.

## Detailed Description

## Typedef Documentation

typedef GSvoid( * RemoteAlgorithm_OutputCB)( const GSvoid * pData, GSuint uiRequestId, GSRESULT rResult, const RAE_VALUE * pOutput, GSuint uiNumOutput)

  | Description: This callback will be called with the output of a previously called remote algorithm. Related function : RemoteAlgorithm_Execute() Parameters:
  pData | Custom data passed at the RemoteAlgorithm_Execute() call
  uiRequestId | Identifier of the request being replied
  rResult | Result code of the execution. Possible values are: GSS_OK There was no error GSE_DBFAILURE An error occured on the DB while processing the algorithm. The ubi.com server logs will contain the exact nature of the error. GSE_UNEXPECTED This is an internal error meaning that either the request or the reply was in a format that could not be decoded. GSE_HOSTUNREACHABLE The remote algorithm execution service is not available.
  pOutput | An array of output values from the algorithm. You do not have ownership of this array. The memory will be freed when the callback function returns.
  uiNumOutput | The number of values in the output array

Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team