StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Network::Detail::WorkerTask Struct Referencefinal

Owned request or internal operation accepted by the worker pool. More...

#include <StormByte/network/detail/server_state.hxx>

Collaboration diagram for StormByte::Network::Detail::WorkerTask:

Public Attributes

Safe::String uuid
 Client UUID, including embedded nulls.
PacketPointer packet
 Request packet.
Safe::Optional< Safe::Function< void()> > operation
 Internal operation without a completion.

Detailed Description

Owned request or internal operation accepted by the worker pool.

Aggregate construction, copying, movement, assignment and destruction retain only Base-owned text, packet ownership and a provider-owned callback. Callback and packet providers must remain loaded until every queued task is released.

Member Data Documentation

◆ operation

Safe::Optional<Safe::Function<void()> > StormByte::Network::Detail::WorkerTask::operation

Internal operation without a completion.

◆ packet

PacketPointer StormByte::Network::Detail::WorkerTask::packet

Request packet.

◆ uuid

Safe::String StormByte::Network::Detail::WorkerTask::uuid

Client UUID, including embedded nulls.


The documentation for this struct was generated from the following file: