class

MeshCoreTCPMux::DmRing

Inherits Reference < Object

Constants

CAPACITY = 8

Mirrors the companion's outstanding plain-DM acknowledgements so Broker cannot overwrite a live slot. The firmware's acknowledgement table is a ring, not a pool. Keeping the insertion position is therefore as important as keeping the entries.

Instance methods

accepted(sent : Bytes, now : Time::Span) : Nil
Source
available?(now : Time::Span) : Bool
Source
confirm(push : Bytes) : Bool
Source
next_slot
Source
pending_count(now : Time::Span) : Int32
Source