Table of Contents

Class FakeListenerInfo

Namespace
OpenShell.Testing
Assembly
OpenShell.Sdk.Testing.dll

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

Sandbox string

The sandbox the listener forwards to.

RemotePort uint

The sandbox port.

LocalEndPoint IPEndPoint

The simulated local endpoint.

UseSshTunnel bool

Whether connections would travel over the SSH relay.

Properties

LocalEndPoint

The simulated local endpoint.

public IPEndPoint LocalEndPoint { get; init; }

Property Value

IPEndPoint

RemotePort

The sandbox port.

public uint RemotePort { get; init; }

Property Value

uint

Sandbox

The sandbox the listener forwards to.

public string Sandbox { get; init; }

Property Value

string

UseSshTunnel

Whether connections would travel over the SSH relay.

public bool UseSshTunnel { get; init; }

Property Value

bool