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

Network-owned endpoint implementation state. More...

Namespaces

namespace  RemoteFile
 Private remote-file implementation namespace.

Classes

struct  SessionRegistration
 Event-loop registration retaining one parser session. More...
struct  ConfigurableConnection
 Connection retained for synchronized remote-file mount ownership checks. More...
struct  RemotePlaneRegistration
 Peer-plane registration shared by the event loop and mounts. More...
struct  Completion
 Worker response queued for application on the event loop. More...
struct  WorkerTask
 Owned request or internal operation accepted by the worker pool. More...
struct  WorkerThread
 Base-owned execution retained and joined by its Network pool. More...
struct  MountedRemoteFile
 Active file capability and its path reservation. More...
struct  Command
 Event-loop command and optional target client UUID. More...

Enumerations

enum class  CompletionReason : unsigned short { Success , NullHandler , Error }
 Result category returned by a packet worker. More...
enum class  CommandType : unsigned short { DisconnectClient , DisconnectAfterReply , DisconnectAll , Stop }
 Event-loop action requested by a worker or callback. More...

Detailed Description

Network-owned endpoint implementation state.

Private provider-owned implementation.

Private implementation details of the Network module.

Enumeration Type Documentation

◆ CommandType

enum class StormByte::Network::Detail::CommandType : unsigned short
strong

Event-loop action requested by a worker or callback.

Enumerator
DisconnectClient 

Disconnect the specified client session.

DisconnectAfterReply 

Discard input and close after reply draining.

DisconnectAll 

Disconnect every client session.

Stop 

Stop the event loop.

◆ CompletionReason

enum class StormByte::Network::Detail::CompletionReason : unsigned short
strong

Result category returned by a packet worker.

Enumerator
Success 

Packet handling completed successfully.

NullHandler 

Packet handler returned no response packet.

Error 

Packet handling failed.