ClientProfile.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace swarmio::profiles
7 {
13  {
14  public:
15 
22  : Profile(endpoint, true)
23  {
25  }
26 
33  virtual void CachedDiscoveryResponseWasUpdated(const Node* node, const data::discovery::Response& response) override { }
34 
39  virtual ~ClientProfile() override
40  {
42  }
43  };
44 }
ClientProfile(Endpoint *endpoint)
Construct a new ClientProfile.
Definition: ClientProfile.h:21
Interface for discovery observers.
virtual void CachedDiscoveryResponseWasUpdated(const Node *node, const data::discovery::Response &response) override
Receives notifications when discovery information becomes available.
Definition: ClientProfile.h:33
Abstract base class for Endpoint implementations.
Definition: Endpoint.h:25
void UnregisterObserver(Observer *observer)
Unregister a discovery observer.
swarmio::services::discovery::Service & GetDiscoveryService()
Get a reference for the Discovery service.
Definition: Profile.h:61
virtual ~ClientProfile() override
Destructor.
Definition: ClientProfile.h:39
Base class for profiles.
Definition: Profile.h:16
Represents a Node the Endpoint knows about and can send messages to.
void RegisterObserver(Observer *observer)
Register a new discovery observer.
Service profile for non-member clients.
Definition: ClientProfile.h:12


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