client-cpp  0.8.1
IEventTransport.hpp
Go to the documentation of this file.
1 
17 #ifndef IEVENTTRANSPORT_HPP_
18 #define IEVENTTRANSPORT_HPP_
19 
20 #include "kaa/gen/EndpointGen.hpp"
21 #include <cstdint>
22 #include <memory>
23 
24 namespace kaa {
25 
30 public:
31 
39  virtual std::shared_ptr<EventSyncRequest> createEventRequest(std::int32_t requestId) = 0;
40 
48  virtual void onEventResponse(const EventSyncResponse& response) = 0;
49 
50  virtual void onSyncResponseId(std::int32_t requestId) = 0;
51 
52  virtual ~IEventTransport() {}
53 };
54 
55 } // namespace kaa
56 
57 
58 #endif /* IEVENTTRANSPORT_HPP_ */
virtual std::shared_ptr< EventSyncRequest > createEventRequest(std::int32_t requestId)=0
virtual void onSyncResponseId(std::int32_t requestId)=0
virtual void onEventResponse(const EventSyncResponse &response)=0