|
StormByte C++ Library: Network module 1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
|
Network module of the StormByte suite. More...
Namespaces | |
| namespace | Connection |
| Connection types of the Network module. | |
| namespace | Detail |
| namespace | Socket |
| namespace | Transport |
| Transport types of the Network module. | |
Classes | |
| class | Client |
| Abstract application client. More... | |
| class | ConnectionClosed |
| Peer closed while waiting or transferring. More... | |
| class | ConnectionError |
| Connection or socket operation failed. More... | |
| class | Endpoint |
| Shared base for Client and Server. More... | |
| class | Exception |
| Base exception for the Network module. More... | |
| class | FrameError |
| Transport frame error. More... | |
| class | PacketError |
| Transport packet error. More... | |
| class | Server |
| Abstract application server. More... | |
Typedefs | |
| using | ExpectedBuffer = StormByte::Expected< Buffer::FIFO, ConnectionError > |
| Receive buffer result. | |
| using | ExpectedVoid = StormByte::Expected< void, ConnectionError > |
| Void operation result. | |
| using | ExpectedClient = StormByte::Expected< std::shared_ptr< Socket::Client >, ConnectionError > |
| Accept result. | |
| using | ExpectedReadResult = StormByte::Expected< Connection::Read::Result, ConnectionClosed > |
| Wait-for-data result. | |
| using | PacketPointer = std::shared_ptr< Transport::Packet > |
| Shared packet. | |
| using | DeserializePacketFunction = std::function< PacketPointer(Transport::Packet::OpcodeType, Buffer::Consumer, std::shared_ptr< Logger::Log >)> |
| Callback that builds a Packet from opcode + payload consumer. | |
| using StormByte::Network::DeserializePacketFunction = typedef std::function<PacketPointer( Transport::Packet::OpcodeType, Buffer::Consumer, std::shared_ptr<Logger::Log> )> |
Callback that builds a Packet from opcode + payload consumer.
| using StormByte::Network::ExpectedBuffer = typedef StormByte::Expected<Buffer::FIFO, ConnectionError> |
Receive buffer result.
| using StormByte::Network::ExpectedClient = typedef StormByte::Expected<std::shared_ptr<Socket::Client>, ConnectionError> |
Accept result.
| using StormByte::Network::ExpectedReadResult = typedef StormByte::Expected<Connection::Read::Result, ConnectionClosed> |
Wait-for-data result.
| using StormByte::Network::ExpectedVoid = typedef StormByte::Expected<void, ConnectionError> |
Void operation result.
| using StormByte::Network::PacketPointer = typedef std::shared_ptr<Transport::Packet> |
Shared packet.