3#include <StormByte/buffer/fifo.hxx>
4#include <StormByte/expected.hxx>
5#include <StormByte/logger/log.hxx>
6#include <StormByte/network/connection/protocol.hxx>
7#include <StormByte/network/connection/rw.hxx>
8#include <StormByte/network/connection/status.hxx>
9#include <StormByte/network/exception.hxx>
10#include <StormByte/network/transport/packet.hxx>
29 using HandlerType = int;
31 using HandlerType = SOCKET;
42 std::shared_ptr<Logger::Log>
The class representing an error in the connection.
Definition exception.hxx:31
unsigned short OpcodeType
The type of the opcode.
Definition packet.hxx:57
The namespace containing connection items.
Network-related classes used by the StormByte networking subsystem.
StormByte::Expected< std::shared_ptr< Socket::Client >, ConnectionError > ExpectedClient
The expected client type.
Definition typedefs.hxx:36
std::function< PacketPointer(Transport::Packet::OpcodeType, Buffer::Consumer, std::shared_ptr< Logger::Log >)> DeserializePacketFunction
The deserialize packet function type.
Definition typedefs.hxx:43
StormByte::Expected< Connection::Read::Result, ConnectionClosed > ExpectedReadResult
The expected read result type.
Definition typedefs.hxx:37
std::shared_ptr< Transport::Packet > PacketPointer
The packet pointer type.
Definition typedefs.hxx:38
StormByte::Expected< void, ConnectionError > ExpectedVoid
The expected void type.
Definition typedefs.hxx:35
StormByte::Expected< Buffer::FIFO, ConnectionError > ExpectedBuffer
The expected buffer type.
Definition typedefs.hxx:34