CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::NodeSubscriber Class Referenceabstract

Node subscriber. More...

Inheritance diagram for catapult::subscribers::NodeSubscriber:

Public Member Functions

virtual ~NodeSubscriber ()=default
 
virtual void notifyNode (const ionet::Node &node)=0
 Indicates a new node was found. More...
 
virtual void notifyIncomingNode (const Key &identityKey, ionet::ServiceIdentifier serviceId)=0
 Indicates a new incoming connection for node with identityKey connected to serviceId. More...
 

Detailed Description

Node subscriber.

Constructor & Destructor Documentation

◆ ~NodeSubscriber()

virtual catapult::subscribers::NodeSubscriber::~NodeSubscriber ( )
virtualdefault

Member Function Documentation

◆ notifyIncomingNode()

virtual void catapult::subscribers::NodeSubscriber::notifyIncomingNode ( const Key identityKey,
ionet::ServiceIdentifier  serviceId 
)
pure virtual

Indicates a new incoming connection for node with identityKey connected to serviceId.

Implemented in catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >.

Here is the caller graph for this function:

◆ notifyNode()

virtual void catapult::subscribers::NodeSubscriber::notifyNode ( const ionet::Node node)
pure virtual

Indicates a new node was found.

Implemented in catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >.


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