Skip to content

ITransportConnection

Namespace: E2E.Engine.Protocol

public interface ITransportConnection

One open connection’s streams. Upstream’s TransportConnection.

View source

Stream Input { get; }

The stream the server’s messages arrive on.

Value: Stream

Stream Output { get; }

The stream the client’s messages go out on.

Value: Stream

Task CloseAsync(TimeSpan timeout)

Releases what the transport holds (a process, a socket), within <code class=“paramref”>timeout</code>.

Parameters

Name Type Description
timeout TimeSpan

Returns: Task

string Diagnostics()

What the transport saw go wrong (a server’s last stderr lines), for an error message. Upstream’s optional diagnostics.

Returns: string