Class FakeListenerInfo
A local listener created through ListenAsync(string, uint, int, ListenOptions?, CancellationToken) on the fake gateway.
public sealed record FakeListenerInfo : IEquatable<FakeListenerInfo>
- Inheritance
-
FakeListenerInfo
- Implements
- Inherited Members
Constructors
FakeListenerInfo(string, uint, IPEndPoint, bool)
A local listener created through ListenAsync(string, uint, int, ListenOptions?, CancellationToken) on the fake gateway.
public FakeListenerInfo(string Sandbox, uint RemotePort, IPEndPoint LocalEndPoint, bool UseSshTunnel)
Parameters
SandboxstringThe sandbox the listener forwards to.
RemotePortuintThe sandbox port.
LocalEndPointIPEndPointThe simulated local endpoint.
UseSshTunnelboolWhether connections would travel over the SSH relay.
Properties
LocalEndPoint
The simulated local endpoint.
public IPEndPoint LocalEndPoint { get; init; }
Property Value
RemotePort
The sandbox port.
public uint RemotePort { get; init; }
Property Value
Sandbox
The sandbox the listener forwards to.
public string Sandbox { get; init; }
Property Value
UseSshTunnel
Whether connections would travel over the SSH relay.
public bool UseSshTunnel { get; init; }