Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::net::ReliableChannel::Stats Struct Reference

Counters since the channel was created. More...

#include <aegis2d/net/reliability.hpp>

Public Attributes

std::uint64_t queued = 0
 Events queued by send().
 
std::uint64_t transmissions = 0
 Copies of events written in datagrams, first sends and resends.
 
std::uint64_t resends = 0
 Copies written again because the previous ones were not acknowledged.
 
std::uint64_t acknowledged = 0
 Events the peer acknowledged.
 
std::uint64_t received = 0
 Events received and handed over by read_events().
 
std::uint64_t duplicates = 0
 Copies of events received again and dropped.
 

Detailed Description

Counters since the channel was created.

Member Data Documentation

◆ acknowledged

std::uint64_t aegis2d::net::ReliableChannel::Stats::acknowledged = 0

Events the peer acknowledged.

◆ duplicates

std::uint64_t aegis2d::net::ReliableChannel::Stats::duplicates = 0

Copies of events received again and dropped.

◆ queued

std::uint64_t aegis2d::net::ReliableChannel::Stats::queued = 0

Events queued by send().

◆ received

std::uint64_t aegis2d::net::ReliableChannel::Stats::received = 0

Events received and handed over by read_events().

◆ resends

std::uint64_t aegis2d::net::ReliableChannel::Stats::resends = 0

Copies written again because the previous ones were not acknowledged.

◆ transmissions

std::uint64_t aegis2d::net::ReliableChannel::Stats::transmissions = 0

Copies of events written in datagrams, first sends and resends.


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