Zero or more instances of CloudServerQueryFilter can be attached to CloudServer to restrict client queries All attached instances of CloudServerQueryFilter on each corresponding operation, from all directly connected clients If any attached instance returns false for a given operation, that operation is silently rejected.
More...
#include <CloudServer.h>
|
virtual bool | OnPostRequest (RakNetGUID clientGuid, SystemAddress clientAddress, CloudKey key, uint32_t dataLength, const char *data)=0 |
|
virtual bool | OnReleaseRequest (RakNetGUID clientGuid, SystemAddress clientAddress, DataStructures::List< CloudKey > &cloudKeys)=0 |
|
virtual bool | OnGetRequest (RakNetGUID clientGuid, SystemAddress clientAddress, CloudQuery &query, DataStructures::List< RakNetGUID > &specificSystems)=0 |
|
virtual bool | OnUnsubscribeRequest (RakNetGUID clientGuid, SystemAddress clientAddress, DataStructures::List< CloudKey > &cloudKeys, DataStructures::List< RakNetGUID > &specificSystems)=0 |
|
Zero or more instances of CloudServerQueryFilter can be attached to CloudServer to restrict client queries All attached instances of CloudServerQueryFilter on each corresponding operation, from all directly connected clients If any attached instance returns false for a given operation, that operation is silently rejected.
Called when a local client wants to query data If you return false, the client will get no response at all
- Returns
- true to allow, false to reject
virtual bool RakNet::CloudServerQueryFilter::OnPostRequest |
( |
RakNetGUID |
clientGuid, |
|
|
SystemAddress |
clientAddress, |
|
|
CloudKey |
key, |
|
|
uint32_t |
dataLength, |
|
|
const char * |
data |
|
) |
| |
|
pure virtual |
Called when a local client wants to post data
- Returns
- true to allow, false to reject
Called when a local client wants to release data that it has previously uploaded
- Returns
- true to allow, false to reject
Called when a local client wants to stop getting updates for data If you return false, the client will keep getting updates for that data
- Returns
- true to allow, false to reject
The documentation for this class was generated from the following file: