CatapultServer  v0.5.0.1 (Elephant)
catapult::net::ConnectionContainer Class Referenceabstract

Manages a collection of connections. More...

Inheritance diagram for catapult::net::ConnectionContainer:

Public Member Functions

virtual ~ConnectionContainer ()=default
 
virtual size_t numActiveConnections () const =0
 Gets the number of active connections (including pending connections). More...
 
virtual utils::KeySet identities () const =0
 Gets the identities of active connections. More...
 
virtual bool closeOne (const Key &identityKey)=0
 Closes any active connections to the node identified by identityKey. More...
 

Detailed Description

Manages a collection of connections.

Constructor & Destructor Documentation

◆ ~ConnectionContainer()

virtual catapult::net::ConnectionContainer::~ConnectionContainer ( )
virtualdefault

Member Function Documentation

◆ closeOne()

virtual bool catapult::net::ConnectionContainer::closeOne ( const Key identityKey)
pure virtual

Closes any active connections to the node identified by identityKey.

Here is the caller graph for this function:

◆ identities()

virtual utils::KeySet catapult::net::ConnectionContainer::identities ( ) const
pure virtual

Gets the identities of active connections.

Here is the caller graph for this function:

◆ numActiveConnections()

virtual size_t catapult::net::ConnectionContainer::numActiveConnections ( ) const
pure virtual

Gets the number of active connections (including pending connections).


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