CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber > Class Template Reference

Aggregate node subscriber. More...

Inheritance diagram for catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >:
Collaboration diagram for catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >:

Public Member Functions

void notifyNode (const ionet::Node &node) override
 Indicates a new node was found. More...
 
void notifyIncomingNode (const Key &identityKey, ionet::ServiceIdentifier serviceId) override
 Indicates a new incoming connection for node with identityKey connected to serviceId. More...
 
- Public Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TNodeSubscriber >
 BasicAggregateSubscriber (std::vector< std::unique_ptr< TNodeSubscriber >> &&subscribers)
 Creates an aggregate subscriber around subscribers. More...
 
- Public Member Functions inherited from catapult::subscribers::NodeSubscriber
virtual ~NodeSubscriber ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TNodeSubscriber >
void forEach (TAction action) const
 

Detailed Description

template<typename TNodeSubscriber = NodeSubscriber>
class catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >

Aggregate node subscriber.

Member Function Documentation

◆ notifyIncomingNode()

template<typename TNodeSubscriber = NodeSubscriber>
void catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >::notifyIncomingNode ( const Key identityKey,
ionet::ServiceIdentifier  serviceId 
)
inlineoverridevirtual

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

Implements catapult::subscribers::NodeSubscriber.

Here is the call graph for this function:

◆ notifyNode()

template<typename TNodeSubscriber = NodeSubscriber>
void catapult::subscribers::AggregateNodeSubscriber< TNodeSubscriber >::notifyNode ( const ionet::Node node)
inlineoverridevirtual

Indicates a new node was found.

Implements catapult::subscribers::NodeSubscriber.

Here is the call graph for this function:

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