ErrorAwaiter.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace swarmio::services
6 {
11  class SWARMIO_API ErrorAwaiter final : public Awaiter<bool>
12  {
13 
14  protected:
15 
22  virtual bool ExtractResponse(const Node* node, const data::Message* message) override;
23 
24  public:
25 
32  ErrorAwaiter(Endpoint* endpoint, uint64_t requestIdentifier)
33  : Awaiter(endpoint, requestIdentifier)
34  {
35  FinishConstruction();
36  }
37  };
38 }
A special mailbox that handles responses to a message.
Definition: Awaiter.h:19
An Awaiter that checks whether the operation was a success.
Definition: ErrorAwaiter.h:11
Abstract base class for Endpoint implementations.
Definition: Endpoint.h:25
ErrorAwaiter(Endpoint *endpoint, uint64_t requestIdentifier)
Construct a new ErrorAwaiter object.
Definition: ErrorAwaiter.h:32
Represents a Node the Endpoint knows about and can send messages to.


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48