group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
NetworkConfig Struct Reference

Runtime network connection parameters. More...

#include <NetworkConfig.hpp>

Collaboration diagram for NetworkConfig:
[legend]

Public Attributes

NetworkAddress clientNetwork
 Client network config (host and port).
NetworkAddress serverNetwork
 Server network config (host and port).
ServerReplicationConfig serverRep
 Server-side replication tuning.
TransportConfig transport
 Phase 3d: UDP transport sub-feature toggles.

Detailed Description

Runtime network connection parameters.

Populated by loadNetworkConfig(). If the config file is absent or a key is missing, the field retains its default value — no exception is thrown.

Member Data Documentation

◆ clientNetwork

NetworkAddress NetworkConfig::clientNetwork

Client network config (host and port).

◆ serverNetwork

NetworkAddress NetworkConfig::serverNetwork

Server network config (host and port).

◆ serverRep

ServerReplicationConfig NetworkConfig::serverRep

Server-side replication tuning.

◆ transport

TransportConfig NetworkConfig::transport

Phase 3d: UDP transport sub-feature toggles.


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