otaupdaterApi.h
Go to the documentation of this file.
89 typedef boost::function<void(boost::system::error_code error_code, int status, int rfsstatus)> status_handler_function;
96 typedef boost::function<void(boost::system::error_code error_code, std::vector<std::pair<std::string, std::string>> &updatesList)> updateslist_handler_function;
103 typedef boost::function<void(boost::system::error_code error_code, std::map<std::string, std::pair<std::string, std::string>> &versionList)> versionlist_handler_function;
120 typedef boost::function<void(boost::system::error_code error_code, std::vector<std::pair<std::string, Channel>> &channelList)> channels_handler_function;
127 typedef boost::function<void(boost::system::error_code error_code, std::vector<std::pair<std::string, std::string>> &updatesList)> remoteversionlist_handler_function;
137 typedef boost::function<void(boost::system::error_code error_code, int operation, int percentage)> operation_percentage_handler_function;
170 void asyncUpgrade(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
171 void asyncInstall(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
172 void asyncUninstall(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
173 void asyncGetVersions(dpyOtaupdater::versionlist_handler_function handler, std::vector<std::string> packages = {""});
174 void asyncGetRemoteVersions(dpyOtaupdater::remoteversionlist_handler_function handler, std::vector<std::string> packages = {});
179 void asyncAddChannel(dpyOtaupdater::result_handler_function handler, std::string name, dpyOtaupdater::Channel channel);
196 virtual void asyncUpgrade(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
197 virtual void asyncInstall(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
198 virtual void asyncUninstall(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
199 virtual void asyncGetVersions(dpyOtaupdater::versionlist_handler_function handler, std::vector<std::string> packages = {""});
200 virtual void asyncGetRemoteVersions(dpyOtaupdater::remoteversionlist_handler_function handler, std::vector<std::string> packages = {""});
205 virtual void asyncAddChannel(dpyOtaupdater::result_handler_function handler, std::string name, dpyOtaupdater::Channel channel);
210 virtual void asyncGetOperationPercentage(dpyOtaupdater::operation_percentage_handler_function handler);
211 virtual void getOperationPercentage_S(dpyOtaupdater::operation_percentage_handler_function handler);
Definition: otaupdaterApi.h:55
boost::function< void(boost::system::error_code error_code, std::vector< std::pair< std::string, std::string >> &updatesList)> remoteversionlist_handler_function
Handler for GetRemoteVersions function callback.
Definition: otaupdaterApi.h:127
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: otaupdaterApi.h:79
Definition: otaupdaterApi.h:40
boost::function< void(boost::system::error_code error_code, std::vector< std::pair< std::string, Channel >> &channelList)> channels_handler_function
Handler for getchannels function callback.
Definition: otaupdaterApi.h:120
boost::function< void(boost::system::error_code error_code)> result_handler_function
Handler for command function callback.
Definition: otaupdaterApi.h:111
Definition: otaupdaterApi.h:70
Definition: otaupdaterApi.h:27
Definition: otaupdaterApi.h:58
Definition: otaupdaterApi.h:45
Definition: otaupdaterApi.h:57
Definition: otaupdaterApi.h:54
Definition: otaupdaterApi.h:68
boost::function< void(boost::system::error_code error_code, int status, int rfsstatus)> status_handler_function
Handler for status function callback.
Definition: otaupdaterApi.h:89
boost::function< void(boost::system::error_code error_code, int operation, int percentage)> operation_percentage_handler_function
Handler for operation percentage function callback.
Definition: otaupdaterApi.h:137
Definition: otaupdaterApi.h:69
Definition: otaupdaterApi.h:56
boost::function< void(boost::system::error_code error_code, std::map< std::string, std::pair< std::string, std::string >> &versionList)> versionlist_handler_function
Handler for getVersions function callback.
Definition: otaupdaterApi.h:103
Definition: otaupdaterApi.h:41
Definition: otaupdaterApi.h:71
Definition: otaupdaterApi.h:44
Deepsy Otaupdater namespace that includes the different enums, structs or method signatures that shou...
Definition: otaupdaterApi.h:39
Definition: otaupdaterApi.h:43
Definition: otaupdaterApi.h:72
boost::function< void(boost::system::error_code error_code, std::vector< std::pair< std::string, std::string >> &updatesList)> updateslist_handler_function
Handler for getUpdates function callback.
Definition: otaupdaterApi.h:96
Definition: otaupdaterApi.h:42