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
Sourceavailable?(now : Time::Span) : Bool
Sourceconfirm(push : Bytes) : Bool
Sourcenext_slot
Sourcepending_count(now : Time::Span) : Int32
Source