client-cpp  0.8.1
IBootstrapTransport.hpp
Go to the documentation of this file.
1 
17 #ifndef IBOOTSTRAPTRANSPORT_HPP_
18 #define IBOOTSTRAPTRANSPORT_HPP_
19 
20 #include <memory>
21 
22 namespace kaa {
23 
29 {
30 public:
31 
38  virtual std::shared_ptr<BootstrapSyncRequest> createBootstrapSyncRequest() = 0;
39 
47  virtual void onBootstrapResponse(const BootstrapSyncResponse& response) = 0;
48 
49  virtual ~IBootstrapTransport() {}
50 };
51 
52 } // namespace kaa
53 
54 
55 #endif /* IBOOTSTRAPTRANSPORT_HPP_ */
virtual void onBootstrapResponse(const BootstrapSyncResponse &response)=0
virtual std::shared_ptr< BootstrapSyncRequest > createBootstrapSyncRequest()=0