Back to Site
Loading...
Searching...
No Matches
librats::Frame Struct Reference

A decoded inner message. payload is a non-owning view into the source bytes. More...

#include <frame.h>

Collaboration diagram for librats::Frame:
[legend]

Public Attributes

FrameHeader header
ByteView payload
Deadline deadline {}
 A live message's deadline as its sender gave it, on this node's clock: when it arrived, less the time the trip took (half the round trip), plus the time it had left as it left.

Detailed Description

A decoded inner message. payload is a non-owning view into the source bytes.

Definition at line 64 of file frame.h.

Member Data Documentation

◆ deadline

Deadline librats::Frame::deadline {}

A live message's deadline as its sender gave it, on this node's clock: when it arrived, less the time the trip took (half the round trip), plus the time it had left as it left.

The epoch for a reliable message, and for a live one that came over a byte stream, which does not say.

Definition at line 71 of file frame.h.

◆ header

FrameHeader librats::Frame::header

Definition at line 65 of file frame.h.

◆ payload

ByteView librats::Frame::payload

Definition at line 66 of file frame.h.


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