17 #ifndef IEVENTDATAPROCESSOR_HPP_
18 #define IEVENTDATAPROCESSOR_HPP_
24 #include "kaa/gen/EndpointGen.hpp"
30 class IEventDataProcessor {
32 virtual std::list<Event> releasePendingEvents() = 0;
33 virtual bool hasPendingEvents()
const = 0;
34 virtual std::map<std::int32_t, std::list<std::string> > getPendingListenerRequests() = 0;
35 virtual bool hasPendingListenerRequests()
const = 0;
37 virtual void onEventsReceived(
const EventSyncResponse::events_t& events) = 0;
38 virtual void onEventListenersReceived(
const EventSyncResponse::eventListenersResponses_t& listeners) = 0;
40 virtual ~IEventDataProcessor() {}