StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Network Namespace Reference

Network module of the StormByte suite. More...

Namespaces

namespace  Connection
 Connection namespace.
namespace  Socket
 Private native transport implementation.
namespace  Detail
 Network-owned endpoint implementation state.
namespace  HTTP
 Bounded HTTP client API; no HTTP server or HTTP/3.
namespace  Transport
 Transport namespace.

Classes

class  Client
 Abstract application client. More...
class  ClientTelemetry
 Cumulative telemetry owned by one Client instance. More...
struct  DiscoveryReply
 One datagram received during discovery. More...
class  Endpoint
 Shared base for Client and Server. More...
class  Exception
 Root exception for Network. More...
class  ConnectionError
 Connection or socket operation failed. More...
class  ConnectionClosed
 Peer closed while waiting or transferring. More...
class  PacketError
 Transport packet error. More...
class  FrameError
 Transport frame error. More...
struct  PeerAddress
 Numeric IP address and source port of a connected peer. More...
class  BufferedRemoteFileReader
 File-like buffered reader backed by a peer DataPlane and mount token. More...
class  BufferedRemoteFileWriter
 File-like buffered writer with an exclusive server-side mount. More...
class  RemoteFileMount
 Public, validated descriptor for attaching to one remote file channel. More...
class  Server
 Abstract application server. More...
class  ServerTelemetry
 Server-wide cumulative telemetry aggregated across all sessions. More...
class  Telemetry
 Base for per-client and aggregate server telemetry snapshots. More...
class  DeserializePacketFunction
 Caller-owned callback that builds a packet from opcode and payload. More...

Typedefs

using RemoteFileReaderHandle = StormByte::Safe::Unique<BufferedRemoteFileReader>
 Base-heap owner movable to Unique<Buffer::IO::BufferedLocationReader> without slicing.
using RemoteFileWriterHandle = StormByte::Safe::Unique<BufferedRemoteFileWriter>
 Base-heap owner movable to Unique<Buffer::IO::BufferedLocationWriter> without slicing.
using ExpectedBuffer = StormByte::Expected<Buffer::FIFO, ConnectionError>
 Receive buffer or connection error result.
using ExpectedVoid = StormByte::Expected<void, ConnectionError>
 Void operation or connection error result.
using ExpectedClient = StormByte::Expected<StormByte::Safe::Shared<Socket::Client>, ConnectionError>
 Accepted client or connection error result.
using ExpectedReadResult = StormByte::Expected<Connection::Read::Result, ConnectionClosed>
 Wait-for-data result or closed connection error.
using PacketPointer = StormByte::Safe::Shared<Transport::Packet>
 Base-heap shared packet pointer.

Detailed Description

Network module of the StormByte suite.

Network module.

Typedef Documentation

◆ ExpectedBuffer

Receive buffer or connection error result.

◆ ExpectedClient

Accepted client or connection error result.

◆ ExpectedReadResult

◆ ExpectedVoid

Void operation or connection error result.

◆ PacketPointer

Base-heap shared packet pointer.

Construct derived packets with MakePointer.

◆ RemoteFileReaderHandle

Base-heap owner movable to Unique<Buffer::IO::BufferedLocationReader> without slicing.

◆ RemoteFileWriterHandle

Base-heap owner movable to Unique<Buffer::IO::BufferedLocationWriter> without slicing.