StreamingRequestID union

Handle to an active streaming batch.

Bit layout (32 bits): [NetOwnerID_Bits-1 .. 0] = OwnerID — PIE routing tag; 0 = server/solo (no routing). [31 .. NetOwnerID_Bits] = Seq — monotonic counter; 0 is reserved (invalid).

Value == 0 is the invalid sentinel (InvalidStreamingRequest). Pack OwnerID via BeginRequest(onComplete, ownerTag) so PIENetThread can route the completion callback to the right handler without separate state.

Public functions

auto GetOwnerID() const -> uint8_t
auto GetSeq() const -> uint32_t
auto IsValid() const -> bool
auto operator==(StreamingRequestID o) const -> bool
auto operator!=(StreamingRequestID o) const -> bool

Public variables

uint32_t Value
uint32_t OwnerID
uint32_t Seq
struct StreamingRequestID None