Public Member Functions | Protected Attributes | List of all members
swarmio::profiles::MemberProfile Class Reference

Service profile for swarm members. More...

#include <MemberProfile.h>

Inheritance diagram for swarmio::profiles::MemberProfile:
Inheritance graph
[legend]

Public Member Functions

swarmio::services::event::ServiceGetEventService ()
 Get a reference for the Event service. More...
 
swarmio::services::keyvalue::ServiceGetKeyValueService ()
 Get a reference for the Key-Value service. More...
 
 MemberProfile (Endpoint *endpoint)
 Construct a new MemberProfile. More...
 
virtual ~MemberProfile ()
 Destroy the MemberProfile object. More...
 
- Public Member Functions inherited from swarmio::profiles::Profile
swarmio::services::discovery::ServiceGetDiscoveryService ()
 Get a reference for the Discovery service. More...
 
swarmio::services::ping::ServiceGetPingService ()
 Get a reference for the Ping service. More...
 
swarmio::services::telemetry::ServiceGetTelemetryService ()
 Get a reference for the Telemetry service. More...
 
virtual ~Profile ()
 Destroy the Profile object. More...
 
- Public Member Functions inherited from swarmio::Mailbox
virtual void Disconnect ()
 Disconnect this Mailbox from the Endpoint. More...
 
EndpointGetEndpoint ()
 Get the associated Endpoint. More...
 
 Mailbox (const Mailbox &)=delete
 Remove copy constructor. More...
 
virtual void MailboxWasConnected () noexcept
 Called when the mailbox is attached to an already running endpoint or if the attached endpoint has just started. More...
 
virtual void MailboxWillBeDisconnected () noexcept
 Called right before the mailbox is disconnected from its endpoint or if the attached endpoint is about to stop. More...
 
virtual void NodeDidJoin (const Node *node) noexcept
 Called when a new Node has joined the group. More...
 
virtual void NodeWasDiscovered (const Node *node) noexcept
 Called when a new Node has been discovered. More...
 
virtual void NodeWillLeave (const Node *node) noexcept
 Called when a Node signals that it will leave. More...
 
Mailboxoperator= (const Mailbox &)=delete
 Remove assignment operator. More...
 
virtual bool ReceiveMessage (const Node *sender, const data::Message *message)
 Delivery point of all messages. More...
 
virtual ~Mailbox ()
 Destroy the Mailbox object. More...
 

Protected Attributes

swarmio::services::event::Service _eventService
 Event service. More...
 
swarmio::services::keyvalue::Service _keyvalueService
 Key-Value service. More...
 
- Protected Attributes inherited from swarmio::profiles::Profile
swarmio::services::discovery::Service _discoveryService
 Discovery service. More...
 
swarmio::services::ping::Service _pingService
 Ping service. More...
 
swarmio::services::telemetry::Service _telemetryService
 Telemetry service. More...
 

Additional Inherited Members

- Protected Member Functions inherited from swarmio::profiles::Profile
 Profile (Endpoint *endpoint, bool performActiveDiscovery)
 Construct a new Profile. More...
 
- Protected Member Functions inherited from swarmio::Mailbox
void FinishConstruction ()
 Called when the last constructor has finished its job. More...
 
void FinishMovingTo (Mailbox *other)
 Called when message handling should be passed onto the new instance. More...
 
 Mailbox ()
 Construct a disconnected Mailbox. More...
 
 Mailbox (Endpoint *endpoint)
 Construct a new Mailbox object. More...
 
 Mailbox (Mailbox &&other)
 Move a Mailbox object. More...
 

Detailed Description

Service profile for swarm members.

Definition at line 14 of file MemberProfile.h.

Constructor & Destructor Documentation

swarmio::profiles::MemberProfile::MemberProfile ( Endpoint endpoint)
inline

Construct a new MemberProfile.

Parameters
endpoint

Definition at line 37 of file MemberProfile.h.

virtual swarmio::profiles::MemberProfile::~MemberProfile ( )
inlinevirtual

Destroy the MemberProfile object.

Definition at line 68 of file MemberProfile.h.

Member Function Documentation

swarmio::services::event::Service& swarmio::profiles::MemberProfile::GetEventService ( )
inline

Get a reference for the Event service.

Returns
swarmio::services::event::Service&

Definition at line 49 of file MemberProfile.h.

swarmio::services::keyvalue::Service& swarmio::profiles::MemberProfile::GetKeyValueService ( )
inline

Get a reference for the Key-Value service.

Returns
swarmio::services::keyvalue::Service&

Definition at line 59 of file MemberProfile.h.

Member Data Documentation

swarmio::services::event::Service swarmio::profiles::MemberProfile::_eventService
protected

Event service.

Definition at line 28 of file MemberProfile.h.

swarmio::services::keyvalue::Service swarmio::profiles::MemberProfile::_keyvalueService
protected

Key-Value service.

Definition at line 22 of file MemberProfile.h.


The documentation for this class was generated from the following file:


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