4 #include <swarmio/data/discovery/Response.pb.h> 24 return message->ds_response();
36 :
Awaiter(endpoint, requestIdentifier)
A special mailbox that handles responses to a message.
DiscoveryAwaiter(const data::discovery::Response &value)
Construct a DiscoveryAwaiter with a cached value.
virtual data::discovery::Response ExtractResponse(const Node *node, const data::Message *message) override
Called when a response for the original message has been received.
An Awaiter that returns discovery data on a remote node.
Abstract base class for Endpoint implementations.
DiscoveryAwaiter(Endpoint *endpoint, uint64_t requestIdentifier)
Construct a new DiscoveryAwaiter object.
Represents a Node the Endpoint knows about and can send messages to.