ITransportConnection
Namespace: E2E.Engine.Protocol
public interface ITransportConnectionOne open connection’s streams. Upstream’s TransportConnection.
Properties
Section titled “Properties”Stream Input { get; }The stream the server’s messages arrive on.
Value: Stream
Output
Section titled “Output”Stream Output { get; }The stream the client’s messages go out on.
Value: Stream
Methods
Section titled “Methods”CloseAsync(TimeSpan)
Section titled “CloseAsync(TimeSpan)”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
Diagnostics()
Section titled “Diagnostics()”string Diagnostics()What the transport saw go wrong (a server’s last stderr lines), for an error message. Upstream’s optional diagnostics.
Returns: string