Friendly LWM2M client
FwExternalDl.h
Go to the documentation of this file.
1 #ifndef WPP_FW_EXTERNAL_URI_DOWNLOADER_H
2 #define WPP_FW_EXTERNAL_URI_DOWNLOADER_H
3 
4 #include <vector>
7 
8 #ifdef RES_5_8
9 
10 namespace wpp {
11 
21 class FwExternalDl {
22 public:
23  FwExternalDl() = default;
24  virtual ~FwExternalDl() = default;
25 
31  virtual std::vector<FwUpdProtocol> supportedProtocols() = 0;
32 
41  virtual void startDownloading(const STRING_T &uri, Lwm2mSecurity &security) = 0;
42 
48  virtual bool isDownloaded() = 0;
49 
55  virtual FwUpdRes downloadResult() = 0;
56 
64  virtual void reset() = 0;
65 };
66 
67 } // namespace wpp
68 
69 #endif // RES_5_8
70 
71 #endif // WPP_FW_EXTERNAL_URI_DOWNLOADER_H
The WppConnection class represents a connection interface for the Wpp library.
Definition: WppClient.cpp:14
FwUpdRes
Definition: FwTypes.h:9
std::string STRING_T
Definition: WppTypes.h:45