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

Callbacks
[Persistent Storage Service]

The persistent storage service function callbacks. More...

Typedefs

typedef GSvoid(* CBPSRcv_LoginResult )(GSubyte ucType, GSint iReason)
 Receive status of the Persistent data storage login request.

typedef GSvoid(* CBPSRcv_Disconnection )()
 Client as been disconnected from the Persistent storage service.

typedef GSvoid(* CBPSRcv_SetDataReply )(GSubyte ucType, GSint iReason, GSuint iID)
 Proxy reply on client request to set persistent data.

typedef GSvoid(* CBPSRcv_GetDataReply )(GSubyte ucType, GSint iReason, GSuint iID, GSvoid *pData, GSint iSize)
 Proxy reply on client request to get persistent data.


Detailed Description


Typedef Documentation

typedef GSvoid( * CBPSRcv_Disconnection)()
 

Description:
This callback will be called when the client has been disconnected from the Persistent storage service

typedef GSvoid( * CBPSRcv_GetDataReply)(GSubyte ucType, GSint iReason, GSuint iID,GSvoid *pData,GSint iSize)
 

Description:
This callback will be called when the client ask for persistent data using the Persistent storage service
Parameters:
ucType The status of the message received back (GSSUCCESS or GSFAIL)
iReason The reason of failure if ucType is GSFAIL
iID The id of the request
pData Pointer to the data buffer
iSize Size of the data buffer

typedef GSvoid( * CBPSRcv_LoginResult)(GSubyte ucType, GSint iReason)
 

Description:
This callback will be called when the client receive a response from the router after asking to join the Persistent storage server
Related Function:
PSSend_Login()
Parameters:
ucType The status of the message received back (GSSUCCESS or GSFAIL)
lReason The reason of failure if ucType is GSFAIL

typedef GSvoid( * CBPSRcv_SetDataReply)(GSubyte ucType, GSint iReason, GSuint iID)
 

Description:
This callback will be called when the client has set data using Persistent storage service
Parameters:
ucType The status of the message received back (GSSUCCESS or GSFAIL)
iReason The reason of failure if ucType is GSFAIL
iID The id of the request


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