Files
lmxopcua/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/IProjectedNamespacePageSink.cs
T

15 lines
842 B
C#

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