Interface ICellNotificationEgress
通知出口(容器侧——双向通知设计稿 §2.1/§4:ICellTelemetryEgress 同型的 best-effort 面)。 通知按"可丢"定位:队列满丢最旧、drain/断连即丢——业务不可丢事件禁走通知(设计稿 §0 负面清单)。
public interface ICellNotificationEgress
Properties
DroppedCount
出站丢弃计数(C→H:队列溢出/drain/断连丢弃——计数增长可见="可丢但可观测",零静默纪律)。
long DroppedCount { get; }
Property Value
InboundDroppedCount
入站丢弃计数(H→C 诊断面,双向通知设计稿 §2.2:队列溢出/未注册键/drain 丢弃——未达 handler 的通知总数)。
long InboundDroppedCount { get; }
Property Value
Methods
Notify(string, ReadOnlyMemory<byte>)
发一条通知(即时返回——队列满丢最旧并计数,绝不等待)。 key 空白或 UTF-8 超 256B、payload 超 MaxFrameLength=参数错误即抛(发送侧结构拒绝)。
void Notify(string key, ReadOnlyMemory<byte> payload)
Parameters
keystringpayloadReadOnlyMemory<byte>