9#ifndef __HIVE_DATA_STORE_H__
10#define __HIVE_DATA_STORE_H__
54 typedef function<void(
ResultAPI const & result)> onSet;
56 typedef function<void(
ResultAPI const & result,
string data)> onGet;
58 typedef function<void(
ResultAPI const & result, map<string, string>
const & myData)> onMyData;
60 typedef function<void(
ResultAPI const & result,
string const & key, map<long long, string>
const & usersData)> onUsersData;
82 static void set(
string key,
string value, onSet listener);
103 static void set(map<string, string> data, onSet listener);
116 static void get(
string key, onGet listener);
146 static void executeEngine(picojson::value jsonParam);
Hive Data Store uses NoSQL Cloud Database to synchronize and store the data for use on the client,...
Definition: HIVE_DataStore.h:51
static void set(string key, string value, onSet listener)
Add Data
static void getUsersData(string key, onUsersData listener)
Get all data using key
static void get(string key, onGet listener)
Get one of my data
static void set(map< string, string > data, onSet listener)
Add Data
static void getMyData(onMyData listener)
Get all my data
Definition: HIVE_ResultAPI.h:63