CatapultServer  v0.5.0.1 (Elephant)
catapult::nodediscovery::NodePingResponseCompatibilityChecker Class Reference

Node ping response compatibility checker. More...

Public Member Functions

 NodePingResponseCompatibilityChecker (model::NetworkIdentifier networkIdentifier)
 Creates a checker around networkIdentifier. More...
 
bool isResponseCompatible (const ionet::Node &requestNode, const ionet::Node &responseNode) const
 Returns true if requestNode and responseNode are compatible nodes. More...
 

Private Attributes

model::NetworkIdentifier m_networkIdentifier
 

Detailed Description

Node ping response compatibility checker.

Constructor & Destructor Documentation

◆ NodePingResponseCompatibilityChecker()

catapult::nodediscovery::NodePingResponseCompatibilityChecker::NodePingResponseCompatibilityChecker ( model::NetworkIdentifier  networkIdentifier)
inlineexplicit

Creates a checker around networkIdentifier.

Member Function Documentation

◆ isResponseCompatible()

bool catapult::nodediscovery::NodePingResponseCompatibilityChecker::isResponseCompatible ( const ionet::Node requestNode,
const ionet::Node responseNode 
) const
inline

Returns true if requestNode and responseNode are compatible nodes.

Here is the call graph for this function:

Member Data Documentation

◆ m_networkIdentifier

model::NetworkIdentifier catapult::nodediscovery::NodePingResponseCompatibilityChecker::m_networkIdentifier
private

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