Asio-based UDP server implementation for R-Type multiplayer game networking. More...
#include "Interfaces/INetworkServer.hpp"#include "Interfaces/Protocol/HandlerPacket.hpp"#include "Interfaces/Protocol/Protocol.hpp"#include "Utils/Event.hpp"#include "Utils/EventBus.hpp"#include <asio.hpp>#include <atomic>#include <memory>#include <mutex>#include <queue>#include <thread>#include <unordered_map>#include <vector>
Include dependency graph for AsioServer.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | srv::ClientSession |
| Represents an active client connection session. More... | |
| struct | srv::Lobby |
| Represents a game lobby (room) where players gather before starting a game. More... | |
| struct | srv::QueuedPacket |
| Represents a packet queued for asynchronous transmission. More... | |
| class | srv::AsioServer |
| High-performance UDP server implementation using ASIO library. More... | |
Namespaces | |
| namespace | srv |
Enumerations | |
| enum class | srv::LobbyStatus : std::uint8_t { srv::SUCCESS = 0 , srv::WAITING = 1 , srv::IN_GAME = 2 , srv::NOT_FOUND = 3 , srv::FULL = 4 , srv::ALREADY_IN_LOBBY = 5 } |
| Status codes for lobby operations. More... | |
Asio-based UDP server implementation for R-Type multiplayer game networking.
This file provides a complete UDP server implementation using ASIO library. It handles client connections, packet routing, lobby management, and game state synchronization. The server implements the R-Type Network Protocol (RNP) specification.
Definition in file AsioServer.hpp.