Table of Contents

Class ChildConnectionRequest

Namespace
RDCore.SDK.Client.Connection
Assembly
RDCore.SDK.dll
public sealed record ChildConnectionRequest : IEquatable<ChildConnectionRequest>
Inheritance
ChildConnectionRequest
Implements
Inherited Members

Properties

ConfigureClient

Applies the app-specific parts of the LanguageClient configuration (client info, capabilities, lifecycle delegates, handlers, services).

public required Action<LanguageClientOptions> ConfigureClient { get; init; }

Property Value

Action<LanguageClientOptions>

ConnectTimeoutSeconds

Seconds to wait for the transport connection before failing.

public int ConnectTimeoutSeconds { get; init; }

Property Value

int

ExpectedCapabilities

The platform capabilities the caller expects the child to provide.

public CorePlatformClientCapabilities ExpectedCapabilities { get; init; }

Property Value

CorePlatformClientCapabilities

ExpectedComponent

The component the caller expects to be connecting to (sent in the platform handshake).

public CoreServerComponent ExpectedComponent { get; init; }

Property Value

CoreServerComponent

HostMode

When true, the child is rdc.exe launched in environment-host mode.

public bool HostMode { get; init; }

Property Value

bool

MaxRestartAttempts

Restart attempts after an unexpected failure before escalating.

public int MaxRestartAttempts { get; init; }

Property Value

int

OnPeerExited

Invoked when the child is lost and cannot be restarted (attempts exhausted).

public required Action OnPeerExited { get; init; }

Property Value

Action

PipeName

The named pipe the child and this connection meet on.

public required string PipeName { get; init; }

Property Value

string

RestartBackoffBaseMs

Base restart delay in milliseconds; doubles per attempt, capped at RestartBackoffMaxMs.

public int RestartBackoffBaseMs { get; init; }

Property Value

int

RestartBackoffMaxMs

Maximum restart delay in milliseconds.

public int RestartBackoffMaxMs { get; init; }

Property Value

int

ServerExecutablePath

The server executable to launch, relative to the platform root.

public required string ServerExecutablePath { get; init; }

Property Value

string

ShutdownTimeoutSeconds

Seconds to wait for the child to acknowledge a graceful shutdown/exit before it is killed.

public int ShutdownTimeoutSeconds { get; init; }

Property Value

int