Skip to main content

Module monitor

Module monitor 

Source
Expand description

Monitor delta decoding: changed bitset, value, overrun bitset.

The pvAccess specification puts a MONITOR update’s changed bitset first, then the delta data, then the overrun bitset. That order is what PvdDecoder::decode_monitor_update implements, and it is what every live connection in this workspace uses.

Some implementations disagree about where the overrun bitset goes (or omit it entirely). PvdDecoder::decode_monitor_update_lenient tries every known layout and reports which one it matched; it exists for mid-stream packet captures, where the introspection was never seen and the peer’s layout has to be inferred.

Structs§

MonitorUpdate
A decoded MONITOR update: the delta value plus both bitsets.

Enums§

MonitorLayout
Which wire layout a lenient decode matched.