using Opc.Ua; namespace ZB.MOM.WW.OtOpcUa.OpcUaServer; /// Applies a prepared page atomically with its cursor commit. public interface IProjectedNamespacePageSink { bool TryApply(NodeId parent, IReadOnlyList nodes, Func commit); bool TryRemove(NodeId nodeId, ProjectedVariableDefinition expected); /// Renews one existing compatible node without asserting a parent page or sibling authority. bool TryRenewExact(NodeId nodeId, ProjectedVariableDefinition expected, ProjectedVariableDefinition replacement, Func commit) => false; /// Atomically promotes an owned mapping anchor to its verified leaf value. bool TryApplyRootLeaf(NodeId anchorId, ProjectedVariableDefinition rootDefinition, Func commit) => false; }