64e3fbe035
v2-ci / build (push) Failing after 1m43s
v2-ci / unit-tests (tests/Core/ZB.MOM.WW.OtOpcUa.Cluster.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.ControlPlane.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Security.Tests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (push) Has been skipped
Adds <summary>, <param>, <typeparam>, and <inheritdoc/> tags to public members surfaced by commentchecker — resolves 5,847 of 5,869 issues (99.6%) across three /fixdocs passes.
29 lines
1.4 KiB
C#
29 lines
1.4 KiB
C#
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions;
|
|
|
|
/// <summary>
|
|
/// Driver capability for on-demand reads. Required for any driver whose nodes are
|
|
/// readable from OPC UA clients (essentially all of them — every committed v2 driver
|
|
/// implements this).
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Reads are idempotent — Polly retry pipelines can safely retry on transient failures
|
|
/// (per <c>docs/v2/plan.md</c> decisions #34 and #44).
|
|
/// </remarks>
|
|
public interface IReadable
|
|
{
|
|
/// <summary>
|
|
/// Read a batch of attributes by their full driver-side reference.
|
|
/// Returns one snapshot per requested reference, in the same order.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Per-reference failures should be reported via the snapshot's <see cref="DataValueSnapshot.StatusCode"/>
|
|
/// (Bad-coded), not as exceptions. The whole call should throw only if the driver itself is unreachable.
|
|
/// </remarks>
|
|
/// <param name="fullReferences">The list of full driver-side references to read.</param>
|
|
/// <param name="cancellationToken">A cancellation token for the operation.</param>
|
|
/// <returns>A task that returns a read-only list of data value snapshots, one per requested reference in the same order.</returns>
|
|
Task<IReadOnlyList<DataValueSnapshot>> ReadAsync(
|
|
IReadOnlyList<string> fullReferences,
|
|
CancellationToken cancellationToken);
|
|
}
|