int subscribe();
int unsubscribe();
- int write(Json data, Json *requestResult);
+ int write(CtxJson1 data, CtxJson1 *requestResult);
bool isSupported();
private:
bool __initialize();
- int __addCustomItem(std::string subject, std::string name, ctx::Json tmpl, std::string owner, bool isInit = false);
+ int __addCustomItem(std::string subject, std::string name, ctx::CtxJson1 tmpl, std::string owner, bool isInit = false);
int __removeCustomItem(std::string subject);
- int __publishData(std::string, ctx::Json fact);
+ int __publishData(std::string, ctx::CtxJson1 fact);
};
}