StormByte C++ Library: Network module 0.0.9999
StormByte-Network is a StormByte library module for handling and create network connections
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs
StormByte::Network Namespace Reference

Network-related classes used by the StormByte networking subsystem. More...

Namespaces

namespace  Socket
 < The connection info class (forward declaration).
 

Classes

class  Client
 Abstract base class for application-specific clients. More...
 
class  ConnectionClosed
 The class representing a terminated connection. More...
 
class  ConnectionError
 The class representing an error in the connection. More...
 
class  Endpoint
 Abstract base for network endpoints (clients/servers). More...
 
class  Exception
 The class representing an exception in the network module. More...
 
class  FrameError
 The class representing an error in the packet. More...
 
class  PacketError
 The class representing an error in the packet. More...
 
class  Server
 Abstract base for application-specific servers. More...
 

Typedefs

using ExpectedBuffer = StormByte::Expected< Buffer::FIFO, ConnectionError >
 The expected buffer type.
 
using ExpectedVoid = StormByte::Expected< void, ConnectionError >
 The expected void type.
 
using ExpectedClient = StormByte::Expected< std::shared_ptr< Socket::Client >, ConnectionError >
 The expected client type.
 
using ExpectedReadResult = StormByte::Expected< Connection::Read::Result, ConnectionClosed >
 The expected read result type.
 
using PacketPointer = std::shared_ptr< Transport::Packet >
 The packet pointer type.
 
using DeserializePacketFunction = std::function< PacketPointer(Transport::Packet::OpcodeType, Buffer::Consumer, std::shared_ptr< Logger::Log >)>
 The deserialize packet function type.
 

Detailed Description

Network-related classes used by the StormByte networking subsystem.

Network-related classes and utilities used by the StormByte networking subsystem.