|
CatapultServer
v0.5.0.1 (Elephant)
|
Connection state unique to a node and connection identifier. More...

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 |
Connection state unique to a node and connection identifier.
|
inline |
Updates values with corresponding values from connectionState.
| uint32_t catapult::ionet::PackedConnectionState::Age |
Current connection age. 0 if the connection is not active.
| uint32_t catapult::ionet::PackedConnectionState::BanAge |
Current ban age. 0 if the connection is not banned.
| uint32_t catapult::ionet::PackedConnectionState::NumConsecutiveFailures |
Number of consecutive failed connections.
| ServiceIdentifier catapult::ionet::PackedConnectionState::ServiceId |
Connection identifier.