#include <GlobalServerAdvertiser.hpp>
◆ loop()
| void GlobalServerAdvertiser::loop |
( |
| ) |
|
|
private |
◆ pollPunchRequests()
| void GlobalServerAdvertiser::pollPunchRequests |
( |
| ) |
|
|
private |
◆ sendPunchProbes()
◆ sendRegistration()
◆ sendUdpHello()
| void GlobalServerAdvertiser::sendUdpHello |
( |
| ) |
|
|
private |
◆ serverId()
| std::uint32_t GlobalServerAdvertiser::serverId |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ start()
| bool GlobalServerAdvertiser::start |
( |
const GlobalDiscoveryConfig & | cfg, |
|
|
Uint16 | gamePort, |
|
|
std::function< int()> | currentPlayersFn ) |
◆ stop()
| void GlobalServerAdvertiser::stop |
( |
| ) |
|
◆ cfg_
◆ currentPlayersFn_
| std::function<int()> GlobalServerAdvertiser::currentPlayersFn_ |
|
private |
◆ gamePort_
| Uint16 GlobalServerAdvertiser::gamePort_ = 0 |
|
private |
◆ serverId_
| std::atomic<std::uint32_t> GlobalServerAdvertiser::serverId_ {0} |
|
private |
◆ shouldStop_
| std::atomic<bool> GlobalServerAdvertiser::shouldStop_ {false} |
|
private |
◆ thread_
| std::thread GlobalServerAdvertiser::thread_ |
|
private |
◆ udpEndpoint_
The documentation for this class was generated from the following files: