namespace ZB.MOM.WW.MxGateway.Worker.Ipc; /// /// Relative scheduling priority for an outbound worker frame. The single writer task drains all /// pending frames before any frame, so a command reply, /// fault, heartbeat, or shutdown acknowledgement is not delayed behind a backlog of queued events /// (WRK-07). Priority only reorders the write; the frame sequence is stamped at actual write time, /// so the on-wire order and the envelope Sequence always agree (WRK-04). /// public enum WorkerFrameWritePriority { /// Control-plane frame (hello, ready, command reply, heartbeat, fault, shutdown ack). Written ahead of events. Control = 0, /// Event frame. Written only when no control frame is pending. Event = 1, }