43 bool HandleGetRequest(
const Node* sender,
const data::Message*
message);
51 bool HandleSetRequest(
const Node* sender,
const data::Message*
message);
98 virtual bool ReceiveMessage(
const Node* sender,
const data::Message*
message)
override;
108 void RegisterTarget(
const std::string& path,
Target* target);
117 void UnregisterTarget(
const std::string& path);
126 virtual void DescribeService(data::discovery::Response& descriptor)
override;
Abstract base class for registered keys.
The Key-Value Service is responsible for getting and setting named values.
std::map< std::string, Target * > _targets
Key-target map.
std::mutex _mutex
Mutex to protect target list.
An Awaiter that checks whether the operation was a success.
Abstract base class for Endpoint implementations.
An Awaiter that returns the requested value.
Interface for discoverable services.
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.