34 #ifndef EMANEEVENTSERVICE_HEADER_ 35 #define EMANEEVENTSERVICE_HEADER_ 63 const std::string & sDevice,
79 const Event & event)
const;
90 NEMId ignoreNEM = {})
const;
98 using EventServiceUserMap = std::map<BuildId, std::pair<NEMId,EventServiceUser *>>;
100 using EventRegistrationMap = std::multimap<EventId, std::tuple<BuildId,NEMId,EventServiceUser *>>;
102 EventRegistrationMap eventRegistrationMap_;
104 EventServiceUserMap eventServiceUserMap_;
114 mutable std::atomic<std::uint64_t> u64SequenceNumber_;
123 #endif //EMANEEVENTSERVICE_HEADER_
std::string Serialization
EventServiceUser interface.
Event interface is the base for all events.
Ensure a class only has one instance, and provide a global point of access to it. ...
void sendEvent(BuildId buildId, NEMId nemId, const Event &event) const
void open(const INETAddr &eventChannelAddress, const std::string &sDevice, int iTTL, bool loopbackEnable, const uuid_t &uuid)
void registerEventServiceUser(BuildId buildId, EventServiceUser *pEventServiceUser, NEMId=0)
void setStatEventCountRowLimit(size_t rows)
void registerEvent(BuildId buildId, EventId eventId)
void processEventMessage(NEMId nemId, EventId eventId, const Serialization &serialization, NEMId ignoreNEM={}) const