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

An interface for picking packet io pairs. More...

Inheritance diagram for catapult::net::PacketIoPicker:

Public Member Functions

virtual ~PacketIoPicker ()=default
 
virtual ionet::NodePacketIoPair pickOne (const utils::TimeSpan &ioDuration)=0
 

Detailed Description

An interface for picking packet io pairs.

Constructor & Destructor Documentation

◆ ~PacketIoPicker()

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

Member Function Documentation

◆ pickOne()

virtual ionet::NodePacketIoPair catapult::net::PacketIoPicker::pickOne ( const utils::TimeSpan ioDuration)
pure virtual

Retrieves a packet io pair around an active connection or an empty pair if no connections are available. After ioDuration elapses, the connection will timeout.

Here is the caller graph for this function:

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