44 static void Trigger(
Endpoint* endpoint,
const data::event::Notification& event);
77 virtual bool ReceiveMessage(
const Node* sender,
const data::Message*
message)
override;
87 void RegisterHandler(
const std::string& name,
Handler* handler);
96 void UnregisterHandler(
const std::string& name);
105 virtual void DescribeService(data::discovery::Response& descriptor)
override;
The Event service is responsible for triggering, handling and monitoring events.
std::mutex _mutex
Mutex to protect handler list.
std::map< std::string, Handler * > _handlers
Map of handlers.
An Awaiter that checks whether the operation was a success.
Abstract base class for Endpoint implementations.
Interface for discoverable services.
Abstract base class for Event handlers.
Represents a Node the Endpoint knows about and can send messages to.
Service(Endpoint *endpoint)
Construct a new Service object.
Abstract base class for Mailbox implementations.