LoopbackTransport
Namespace: E2E.Engine.Protocol
public sealed class LoopbackTransport : IEngineTransportServes an engine in this process over in-memory streams. Every call still crosses the protocol, serialized as on any other transport, so a
suite run through it proves an engine and the harness need nothing the protocol cannot carry. Upstream’s loopbackTransport.
Inheritance: object
Implements: IEngineTransport
Constructors
Section titled “Constructors”LoopbackTransport(EngineHandle)
Section titled “LoopbackTransport(EngineHandle)”public LoopbackTransport(EngineHandle engine)Serves an engine in this process over in-memory streams. Every call still crosses the protocol, serialized as on any other transport, so a
suite run through it proves an engine and the harness need nothing the protocol cannot carry. Upstream’s loopbackTransport.
Parameters
| Name | Type | Description |
|---|---|---|
engine |
EngineHandle |
Properties
Section titled “Properties”public string Label { get; }A short description for error messages: the command, or the address.
Value: string
Methods
Section titled “Methods”OpenAsync(TransportContext)
Section titled “OpenAsync(TransportContext)”public Task<ITransportConnection> OpenAsync(TransportContext context)Parameters
| Name | Type | Description |
|---|---|---|
context |
TransportContext |
Returns: Task<ITransportConnection>