CatapultServer  v0.5.0.1 (Elephant)
catapult::ionet::PackedConnectionState Struct Reference

Connection state unique to a node and connection identifier. More...

Collaboration diagram for catapult::ionet::PackedConnectionState:

Public Member Functions

void Update (const ConnectionState &connectionState)
 Updates values with corresponding values from connectionState. More...
 

Public Attributes

ServiceIdentifier ServiceId
 Connection identifier. More...
 
uint32_t Age
 
uint32_t NumConsecutiveFailures
 Number of consecutive failed connections. More...
 
uint32_t BanAge
 

Detailed Description

Connection state unique to a node and connection identifier.

Member Function Documentation

◆ Update()

void catapult::ionet::PackedConnectionState::Update ( const ConnectionState connectionState)
inline

Updates values with corresponding values from connectionState.

Member Data Documentation

◆ Age

uint32_t catapult::ionet::PackedConnectionState::Age

Current connection age. 0 if the connection is not active.

◆ BanAge

uint32_t catapult::ionet::PackedConnectionState::BanAge

Current ban age. 0 if the connection is not banned.

◆ NumConsecutiveFailures

uint32_t catapult::ionet::PackedConnectionState::NumConsecutiveFailures

Number of consecutive failed connections.

◆ ServiceId

ServiceIdentifier catapult::ionet::PackedConnectionState::ServiceId

Connection identifier.


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