LibQuicR
Loading...
Searching...
No Matches
quicr::ObjectHeaders Struct Reference

Object headers struct. More...

#include <object.h>

Public Attributes

uint64_t group_id
 Object group ID - Application defined order of generation.
 
uint64_t object_id
 Object ID - Application defined order of generation.
 
uint64_t subgroup_id { 0 }
 Subgroup ID - Starts at 0, monotonically increases by 1.
 
uint64_t payload_length
 Length of payload of the object data.
 
ObjectStatus status
 Status of the object at the publisher.
 
std::optional< uint8_t > priority
 Priority of the object, lower value is better.
 
std::optional< uint16_t > ttl
 Object time to live in milliseconds.
 
std::optional< TrackMode > track_mode
 Track Mode of how the object was received or mode to use when sending.
 
std::optional< Extensionsextensions
 

Detailed Description

Object headers struct.

Object headers are passed when sending and receiving an object. The object headers describe the object.

Examples
client.cpp, and server.cpp.

Member Data Documentation

◆ extensions

std::optional<Extensions> quicr::ObjectHeaders::extensions

◆ group_id

uint64_t quicr::ObjectHeaders::group_id

Object group ID - Application defined order of generation.

Examples
client.cpp, and server.cpp.

◆ object_id

uint64_t quicr::ObjectHeaders::object_id

Object ID - Application defined order of generation.

Examples
client.cpp, and server.cpp.

◆ payload_length

uint64_t quicr::ObjectHeaders::payload_length

Length of payload of the object data.

◆ priority

std::optional<uint8_t> quicr::ObjectHeaders::priority

Priority of the object, lower value is better.

◆ status

ObjectStatus quicr::ObjectHeaders::status

Status of the object at the publisher.

◆ subgroup_id

uint64_t quicr::ObjectHeaders::subgroup_id { 0 }

Subgroup ID - Starts at 0, monotonically increases by 1.

◆ track_mode

std::optional<TrackMode> quicr::ObjectHeaders::track_mode

Track Mode of how the object was received or mode to use when sending.

◆ ttl

std::optional<uint16_t> quicr::ObjectHeaders::ttl

Object time to live in milliseconds.


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