namespace ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.Cip;
/// 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.
public interface ICipChannel
{
/// Largest CIP request (service byte through end of data) one call may carry.
int MaxRequestBytes { get; }
/// Send one CIP request and return the raw CIP reply bytes (reply-service byte first).
/// Throws on transport failure or timeout.
Task> SendAsync(ReadOnlyMemory cipRequest, CancellationToken cancellationToken);
}