namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions.DataConnections; /// Captured sample/route authority, independent of each local monitored item's caller. public interface IProjectedSamplePublicationProof { /// Checks the original live source, route, role and lease without network work. bool IsValid { get; } /// Stable source ownership; distinct sample witnesses may share this identity. object SourceIdentity => this; /// Source and route lifetime, independent of one sample's age. bool IsSourceValid => IsValid; TimeProvider Clock { get; } /// Synchronously invalidates value readiness after failed or lost ingress; metadata may remain browsable. void Invalidate(); } /// An imported sample retaining original ingress age through local actor and SDK queues. public sealed record ProjectedValueWrite(DataRealm Realm, string LocalIdentifier, long ProjectionGeneration, ServingIdentity Serving, DataValueSnapshot Snapshot, DataAgeBounds OriginAgeBounds, long ReceivedTimestamp, IProjectedSamplePublicationProof Proof, bool IsCompleteSnapshot = false, long? SourceVersion = null); /// Applies imported values only after checking their captured proof at the actual SDK boundary. public interface IProjectedValueSink { bool TryPublish(IReadOnlyList values); }