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

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

Public Member Functions

 ConnectionState ()
 Creates zeroed state. More...
 

Public Attributes

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.

Constructor & Destructor Documentation

◆ ConnectionState()

catapult::ionet::ConnectionState::ConnectionState ( )
inline

Creates zeroed state.

Member Data Documentation

◆ Age

uint32_t catapult::ionet::ConnectionState::Age

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

◆ BanAge

uint32_t catapult::ionet::ConnectionState::BanAge

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

◆ NumConsecutiveFailures

uint32_t catapult::ionet::ConnectionState::NumConsecutiveFailures

Number of consecutive failed connections.


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