14 lines
714 B
C#
14 lines
714 B
C#
namespace ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.Cip;
|
|
|
|
/// <summary>A path to a CIP message router: connected (Forward Open) or unconnected (UCMM). Task 9
|
|
/// implements it; Task 10's scheduler and the native adapters consume it.</summary>
|
|
public interface ICipChannel
|
|
{
|
|
/// <summary>Largest CIP request (service byte through end of data) one call may carry.</summary>
|
|
int MaxRequestBytes { get; }
|
|
|
|
/// <summary>Send one CIP request and return the raw CIP reply bytes (reply-service byte first).
|
|
/// Throws <see cref="AbTransportException"/> on transport failure or timeout.</summary>
|
|
Task<ReadOnlyMemory<byte>> SendAsync(ReadOnlyMemory<byte> cipRequest, CancellationToken cancellationToken);
|
|
}
|