RakNet::CloudClientCallback Class Reference
[CloudComputing]

#include <CloudClient.h>

List of all members.

Public Member Functions

virtual void OnGet (RakNet::CloudQueryResult *result, bool *deallocateRowsAfterReturn)
 Called in response to ID_CLOUD_GET_RESPONSE.
virtual void OnSubscriptionNotification (RakNet::CloudQueryRow *result, bool wasUpdated, bool *deallocateRowAfterReturn)
 Called in response to ID_CLOUD_SUBSCRIPTION_NOTIFICATION.


Detailed Description

Parses ID_CLOUD_GET_RESPONSE and ID_CLOUD_SUBSCRIPTION_NOTIFICATION in a convenient callback form

Member Function Documentation

virtual void RakNet::CloudClientCallback::OnGet ( RakNet::CloudQueryResult *  result,
bool *  deallocateRowsAfterReturn 
) [inline, virtual]

Called in response to ID_CLOUD_GET_RESPONSE.

Parameters:
[out] result Contains the original query passed to Get(), and a list of rows returned.
[out] deallocateRowsAfterReturn CloudQueryResult::rowsReturned will be deallocated after the function returns by default. Set to false to not deallocate these pointers. The pointers are allocated through CloudAllocator.

virtual void RakNet::CloudClientCallback::OnSubscriptionNotification ( RakNet::CloudQueryRow *  result,
bool  wasUpdated,
bool *  deallocateRowAfterReturn 
) [inline, virtual]

Called in response to ID_CLOUD_SUBSCRIPTION_NOTIFICATION.

Parameters:
[out] result Contains the row updated
[out] wasUpdated If true, the row was updated. If false, it was deleted. result will contain the last value just before deletion
[out] deallocateRowAfterReturn result will be deallocated after the function returns by default. Set to false to not deallocate these pointers. The pointers are allocated through CloudAllocator.


The documentation for this class was generated from the following file:

Generated on Wed Feb 1 13:33:47 2012 for RakNet by  doxygen 1.5.7.1