otaupdaterApi.h File Reference
#include <boost/function.hpp>#include <boost/system/error_code.hpp>#include <boost/shared_ptr.hpp>#include <vector>#include <map>
Include dependency graph for otaupdaterApi.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | Channel |
| class | OtaUpdater |
| Allows to interact with a ota updater service. More... | |
Namespaces | |
| dpyOtaupdater | |
| Deepsy Otaupdater namespace that includes the different enums, structs or method signatures that should be used. | |
Typedefs | |
| typedef boost::function< void(const bool &available)> | service_availability_handler |
| Prototype of the handler function used to monitor service availability. More... | |
| typedef boost::function< void(boost::system::error_code error_code, int status, int rfsstatus)> | status_handler_function |
| Handler for status function callback. More... | |
| typedef 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. More... | |
| typedef 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. More... | |
| typedef boost::function< void(boost::system::error_code error_code)> | result_handler_function |
| Handler for command function callback. More... | |
| typedef 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. More... | |
| typedef 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. More... | |
| typedef boost::function< void(boost::system::error_code error_code, int operation, int percentage)> | operation_percentage_handler_function |
| Handler for operation percentage function callback. More... | |
Enumerations | |
| enum | ServiceStatus { INIT = 0, SYNCHRONIZING = 1, IDLE = 2, RECOVERING = 3, OPERATING = 4, COMPLETE_RFS = 5, END = 6 } |
| enum | AltRFSStatus { OK = 0, ERROR = 1, IN_PROCESS = 2, UPGRADED = 3, BACKUP = 4 } |
| enum | OperationType { NO_OPERATING = 0, INSTALLING = 1, UPGRADING = 2, REMOVING = 3, DOWNLOADING = 4 } |
