mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-19 15:22:15 +08:00
f358078b1c
# Description Introduces a central `IClientChannelManager` that owns client-side transport channels with reference counting, sharing, coalesced reconnect, and asynchronous participant notification. Sessions, discovery clients, and registration clients targeting the same `ConfiguredEndpoint` (with the same reverse-connect identity) now share a single underlying `ITransportChannel`; reconnect is transparent to callers; and the previous `AttachChannel`/`DetachChannel` + `SessionReconnectHandler` patterns are obsoleted. ## What lands ### Core types (`Stack/Opc.Ua.Core/Stack/Client/`) - `ManagedChannelKey`, `ChannelState`, `ChannelStateChange`, `ParticipantReconnectResult` - `IReconnectParticipant`, `IManagedTransportChannel`, `IClientChannelManager` - `IChannelReconnectPolicy` + `ExponentialBackoffChannelReconnectPolicy` (default mirrors historical `SessionReconnectHandler`: 500 ms → 30 s exponential) - `IRetryBudget` + `RetryBudget` — shared retry deadline so the two-level retry no longer compounds multiplicatively - `ClientChannelManager` — single non-partial sealed class with SOLID-extracted internal types under `Stack/Opc.Ua.Core/Stack/Client/Channels/Internal/`: `ChannelEntry` (behind `IChannelEntryHost`), `ManagedTransportChannelLease`, `ClientChannel`, `ClientChannelManagerMetrics` (IMeter), `ClientChannelManagerCertRotation` (auto `ReconnectAllAsync` on `CertificateManager` rotation), `ClientChannelManagerDiagnostics` (ActivitySource + EventSource). Refcount, coalesced reconnect, and transparent faulted-entry recovery via `SwapFaultedEntryAsync` (swaps a lease's underlying entry on subsequent `ReconnectAsync` when the prior cycle Faulted/Closed, preserves participant, back-off via policy `GetDelay(SwapCount)`) ### Three-state lifecycle gate `Disconnected` → `TransportConnecting` / `TransportReconnecting` → `TransportConnectedSessionReactivating` → `Ready` (or `Faulted` / `Closed`). Only `Ready` releases the service-call gate; the manager bypasses the gate internally for participant `ActivateSession` traffic during reactivation via an `AsyncLocal` scope. ### Session integration (`Libraries/Opc.Ua.Client/Session/`) - New `Session.CreateAsync(IClientChannelManager, …)` overload - `Session` implements `IReconnectParticipant`; reactivation handler distinguishes `Reactivated` / `RequiresSessionRecreate` / `TransientFailure` / `FatalForParticipant` / `FatalForChannel` - `Session.ReconnectAsync(ct)` automatically delegates to the channel manager when wired - `Session.RecreateInPlaceAsync` swaps managed-channel leases for failover-to-different-endpoint via a new atomic `IClientChannelManager.GetAsync(endpoint, participantFactory, …)` overload; same-key recreates delegate to manager reconnect; explicit-channel/connection callers retain legacy behavior - KA failure routes through `IClientChannelManager.ReconnectAsync(channel)` ### ManagedSession integration - `WithChannelManager(...)` builder + ctor param; DI-resolved automatically - Two-level retry: channel-mgr handles transparent reconnect; outer `ConnectionStateMachine` + `IReconnectPolicy` only triggers on terminal channel `Faulted`. Outer-state churn suppressed during channel-mgr cycles via `_channelReconnectInProgress` flag wired through `IManagedTransportChannel.StateChanged` - New `ManagedSession.ChannelStateChanged` event surfaces transparent reconnects - `ConnectionStateChangedEventArgs.UnderlyingChannelState` populated when outer reconnect was triggered by a channel fault - Shared `IRetryBudget` propagated so the layers enforce a single max-total-time ### Discovery / Registration / GDS Channel-manager-aware `CreateAsync` overloads on `DiscoveryClient`, `RegistrationClient`, `ServerPushConfigurationClient`, `LocalDiscoveryServerClient`, `GlobalDiscoveryServerClient`. Each registers a minimal `IReconnectParticipant`; co-located sessions and discovery probes targeting the same endpoint share a channel. ### HTTPS transport (`Stack/Opc.Ua.Bindings.Https/`) - New `IOpcUaHttpClientFactory` abstraction - HTTPS / OPC-HTTPS channels migrated to `IHttpClientFactory` + `Microsoft.Extensions.Http.Resilience` (10.6.0; AOT-compatible on net10 via source generators; legacy direct-HTTP path retained for older TFMs / no-DI consumers) ### DI `AddOpcUa().AddClient(...)` registers `IClientChannelManager` and the named HTTPS `HttpClient` + standard resilience handler automatically. `ManagedSessionBuilder` resolves the manager from DI when present. ### Obsoletions (functional, `[Obsolete]` with guidance) - `IClientBase.AttachChannel` / `DetachChannel` - `SessionReconnectHandler` - `SessionExtensions.ReconnectAsync(connection, ct)` and `(channel, ct)` legacy overloads ### Tests - Core: `ClientChannelManagerManagedTests`, `ClientChannelManagerCertRotationTests`, `RetryBudgetTests`, `OpcUaHttpClientFactoryTests` — **56 / 56 pass** - Client: `ManagedSession*Tests` updated; legacy `SessionReconnectHandlerTests` + `SessionExtensionsTests` preserved with `#pragma warning disable CS0618` — **129 / 129 pass** - Sessions integration: `ChannelManagerSharing` / `TransparentReconnect` / `SessionLifecycle` / `CertRotation` — **7 pass, 1 skipped** (`ChannelManagerExhaustionEscalatesAndRecoversWhenServerReturns` un-`[Ignore]`d and implemented in this PR via `SwapFaultedEntryAsync`; remaining skip is end-to-end `RequiresSessionRecreate` plumbing — carry-forward) - Stress (consolidated `Tests/Opc.Ua.Stress.Tests/Subscriptions/` + `Channels/`): chaos / contract / soak / lifecycle / leak-accuracy / gap / participant-result-aggregation tests merged from the previously-separate `Opc.Ua.Channels.Stress.Tests` project; nightly run via `.github/workflows/stress-test.yml` Builds clean (0 warnings / 0 errors) across all six TFMs: `net472`, `net48`, `netstandard2.1`, `net8.0`, `net9.0`, `net10.0`. ### Docs - `Docs/Sessions.md` new § 4 documents the channel manager, three-state gating, two-level retry with shared `IRetryBudget`, HTTPS resilience layering - `Docs/MigrationGuide.md` migration recipes for the four obsoleted API groups - `Docs/DependencyInjection.md` channel-manager and HTTPS factory registration ## Carry-forward (separate PRs) - End-to-end `ParticipantReconnectResult.RequiresSessionRecreate` → `Session.RecreateAsync` lifecycle wiring (currently incomplete — flagged in the 1 remaining skipped integration test) ## Related Issues - Fixes #3288 - Builds on #3282 (PR that introduced the initial `ITransportChannelManager` skeleton) ## Checklist - [x] I have signed the [CLA](https://opcfoundation.org/license/cla/ContributorLicenseAgreementv1.0.pdf) and read the [CONTRIBUTING](https://github.com/OPCFoundation/UA-.NETStandard/blob/master/CONTRIBUTING.md) doc. - [x] I have added tests that prove my fix is effective or that my feature works and increased code coverage. - [x] I have added all necessary documentation. - [x] I have verified that my changes do not introduce (new) build or analyzer warnings. - [ ] I ran **all** tests locally using the **UA.slnx** solution against at least .net **framework** and .net **10**, and all passed. *(Channel-manager-specific tests + ManagedSession/client tests verified across all 6 TFMs; full UA.slnx run is pending CI.)* - [ ] I fixed **all** failing and flaky tests in the CI pipelines and **all** CodeQL warnings. - [ ] I have addressed **all** PR feedback received.
454 lines
17 KiB
C#
454 lines
17 KiB
C#
/* ========================================================================
|
|
* Copyright (c) 2005-2025 The OPC Foundation, Inc. All rights reserved.
|
|
*
|
|
* OPC Foundation MIT License 1.00
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person
|
|
* obtaining a copy of this software and associated documentation
|
|
* files (the "Software"), to deal in the Software without
|
|
* restriction, including without limitation the rights to use,
|
|
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the
|
|
* Software is furnished to do so, subject to the following
|
|
* conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be
|
|
* included in all copies or substantial portions of the Software.
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
*
|
|
* The complete license agreement can be found here:
|
|
* http://opcfoundation.org/License/MIT/1.00/
|
|
* ======================================================================*/
|
|
|
|
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Opc.Ua.Security.Certificates;
|
|
|
|
namespace Opc.Ua.Client
|
|
{
|
|
/// <summary>
|
|
/// Session factory that creates raw <see cref="Session"/> instances whose
|
|
/// transport channels are acquired from an <see cref="IClientChannelManager"/>.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is one of the built-in <see cref="ISessionFactory"/> options:
|
|
/// <see cref="DefaultSessionFactory"/> creates a raw <see cref="Session"/>
|
|
/// without managed reconnect, <see cref="ManagedSessionFactory"/> creates a
|
|
/// <see cref="ManagedSession"/> with the built-in reconnect state machine,
|
|
/// and <see cref="ChannelManagerSessionFactory"/> creates a raw
|
|
/// <see cref="Session"/> that acquires its transport from a shared
|
|
/// <see cref="IClientChannelManager"/>.
|
|
/// </para>
|
|
/// <para>
|
|
/// Use this factory when multiple sessions or session-based clients should
|
|
/// share compatible channels and have transport reconnect coordinated
|
|
/// centrally by the channel manager, while retaining the raw
|
|
/// <see cref="Session"/> programming model.
|
|
/// </para>
|
|
/// </remarks>
|
|
public sealed class ChannelManagerSessionFactory : ISessionFactory
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ChannelManagerSessionFactory"/> class.
|
|
/// </summary>
|
|
/// <param name="manager">The client channel manager that owns shared channels.</param>
|
|
/// <param name="telemetry">The telemetry context.</param>
|
|
/// <param name="returnDiagnostics">Diagnostics flags applied to created sessions.</param>
|
|
/// <param name="timeProvider">Optional time provider forwarded to created sessions.</param>
|
|
public ChannelManagerSessionFactory(
|
|
IClientChannelManager manager,
|
|
ITelemetryContext telemetry,
|
|
DiagnosticsMasks returnDiagnostics = DiagnosticsMasks.None,
|
|
TimeProvider? timeProvider = null)
|
|
{
|
|
m_manager = manager ?? throw new ArgumentNullException(nameof(manager));
|
|
Telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
|
|
m_timeProvider = timeProvider;
|
|
m_innerFactory = new DefaultSessionFactory(telemetry)
|
|
{
|
|
TimeProvider = timeProvider
|
|
};
|
|
ReturnDiagnostics = returnDiagnostics;
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public ITelemetryContext Telemetry { get; }
|
|
|
|
/// <inheritdoc/>
|
|
public DiagnosticsMasks ReturnDiagnostics
|
|
{
|
|
get => m_innerFactory.ReturnDiagnostics;
|
|
set => m_innerFactory.ReturnDiagnostics = value;
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public ISession Create(
|
|
ITransportChannel channel,
|
|
ApplicationConfiguration configuration,
|
|
ConfiguredEndpoint endpoint,
|
|
Certificate? clientCertificate = null,
|
|
CertificateCollection? clientCertificateChain = null,
|
|
ArrayOf<EndpointDescription> availableEndpoints = default,
|
|
ArrayOf<string> discoveryProfileUris = default)
|
|
{
|
|
return m_innerFactory.Create(
|
|
channel,
|
|
configuration,
|
|
endpoint,
|
|
clientCertificate,
|
|
clientCertificateChain,
|
|
availableEndpoints,
|
|
discoveryProfileUris);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public Task<ISession> CreateAsync(
|
|
ApplicationConfiguration configuration,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
string sessionName,
|
|
uint sessionTimeout,
|
|
IUserIdentity? identity,
|
|
ArrayOf<string> preferredLocales,
|
|
CancellationToken ct = default)
|
|
{
|
|
return CreateAsync(
|
|
configuration,
|
|
endpoint,
|
|
updateBeforeConnect,
|
|
checkDomain: false,
|
|
sessionName,
|
|
sessionTimeout,
|
|
identity,
|
|
preferredLocales,
|
|
ct);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public Task<ISession> CreateAsync(
|
|
ApplicationConfiguration configuration,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
bool checkDomain,
|
|
string sessionName,
|
|
uint sessionTimeout,
|
|
IUserIdentity? identity,
|
|
ArrayOf<string> preferredLocales,
|
|
CancellationToken ct = default)
|
|
{
|
|
return CreateCoreAsync(
|
|
configuration,
|
|
connection: null,
|
|
endpoint,
|
|
updateBeforeConnect,
|
|
checkDomain,
|
|
sessionName,
|
|
sessionTimeout,
|
|
identity,
|
|
preferredLocales,
|
|
ct);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public Task<ISession> CreateAsync(
|
|
ApplicationConfiguration configuration,
|
|
ITransportWaitingConnection connection,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
bool checkDomain,
|
|
string sessionName,
|
|
uint sessionTimeout,
|
|
IUserIdentity? identity,
|
|
ArrayOf<string> preferredLocales,
|
|
CancellationToken ct = default)
|
|
{
|
|
return CreateCoreAsync(
|
|
configuration,
|
|
connection,
|
|
endpoint,
|
|
updateBeforeConnect,
|
|
checkDomain,
|
|
sessionName,
|
|
sessionTimeout,
|
|
identity,
|
|
preferredLocales,
|
|
ct);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public async Task<ISession> CreateAsync(
|
|
ApplicationConfiguration configuration,
|
|
ReverseConnectManager reverseConnectManager,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
bool checkDomain,
|
|
string sessionName,
|
|
uint sessionTimeout,
|
|
IUserIdentity? userIdentity,
|
|
ArrayOf<string> preferredLocales,
|
|
CancellationToken ct = default)
|
|
{
|
|
if (endpoint == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(endpoint));
|
|
}
|
|
|
|
if (reverseConnectManager == null)
|
|
{
|
|
return await CreateAsync(
|
|
configuration,
|
|
endpoint,
|
|
updateBeforeConnect,
|
|
checkDomain,
|
|
sessionName,
|
|
sessionTimeout,
|
|
userIdentity,
|
|
preferredLocales,
|
|
ct).ConfigureAwait(false);
|
|
}
|
|
|
|
ITransportWaitingConnection? connection;
|
|
do
|
|
{
|
|
connection = await reverseConnectManager.WaitForConnectionAsync(
|
|
endpoint.EndpointUrl!,
|
|
endpoint.ReverseConnect?.ServerUri,
|
|
ct).ConfigureAwait(false);
|
|
|
|
if (updateBeforeConnect)
|
|
{
|
|
await endpoint.UpdateFromServerAsync(
|
|
endpoint.EndpointUrl!,
|
|
connection,
|
|
endpoint.Description.SecurityMode,
|
|
endpoint.Description.SecurityPolicyUri!,
|
|
Telemetry,
|
|
ct).ConfigureAwait(false);
|
|
updateBeforeConnect = false;
|
|
connection = null;
|
|
}
|
|
} while (connection == null);
|
|
|
|
return await CreateAsync(
|
|
configuration,
|
|
connection,
|
|
endpoint,
|
|
updateBeforeConnect: false,
|
|
checkDomain,
|
|
sessionName,
|
|
sessionTimeout,
|
|
userIdentity,
|
|
preferredLocales,
|
|
ct).ConfigureAwait(false);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public async Task<ITransportChannel> CreateChannelAsync(
|
|
ApplicationConfiguration configuration,
|
|
ITransportWaitingConnection? connection,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
bool checkDomain,
|
|
CancellationToken ct = default)
|
|
{
|
|
await PrepareEndpointAndManagerAsync(
|
|
configuration,
|
|
connection,
|
|
endpoint,
|
|
updateBeforeConnect,
|
|
checkDomain,
|
|
ct).ConfigureAwait(false);
|
|
|
|
return await m_manager.GetAsync(
|
|
endpoint,
|
|
_ => new ChannelOnlyReconnectParticipant(endpoint),
|
|
connection,
|
|
ct).ConfigureAwait(false);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public Task<ISession> RecreateAsync(ISession sessionTemplate, CancellationToken ct = default)
|
|
{
|
|
return m_innerFactory.RecreateAsync(sessionTemplate, ct);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public Task<ISession> RecreateAsync(
|
|
ISession sessionTemplate,
|
|
ITransportWaitingConnection connection,
|
|
CancellationToken ct = default)
|
|
{
|
|
return m_innerFactory.RecreateAsync(sessionTemplate, connection, ct);
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public Task<ISession> RecreateAsync(
|
|
ISession sessionTemplate,
|
|
ITransportChannel transportChannel,
|
|
CancellationToken ct = default)
|
|
{
|
|
return m_innerFactory.RecreateAsync(sessionTemplate, transportChannel, ct);
|
|
}
|
|
|
|
private async Task<ISession> CreateCoreAsync(
|
|
ApplicationConfiguration configuration,
|
|
ITransportWaitingConnection? connection,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
bool checkDomain,
|
|
string sessionName,
|
|
uint sessionTimeout,
|
|
IUserIdentity? identity,
|
|
ArrayOf<string> preferredLocales,
|
|
CancellationToken ct)
|
|
{
|
|
await PrepareEndpointAndManagerAsync(
|
|
configuration,
|
|
connection,
|
|
endpoint,
|
|
updateBeforeConnect,
|
|
checkDomain,
|
|
ct).ConfigureAwait(false);
|
|
|
|
Session? session = null;
|
|
IManagedTransportChannel? managedChannel = null;
|
|
try
|
|
{
|
|
managedChannel = await m_manager.GetAsync(
|
|
endpoint,
|
|
channel =>
|
|
{
|
|
session = new Session(
|
|
channel,
|
|
configuration,
|
|
endpoint,
|
|
engineFactory: null,
|
|
timeProvider: m_timeProvider);
|
|
session.BindManagedChannel(m_manager, channel);
|
|
return session;
|
|
},
|
|
connection,
|
|
ct).ConfigureAwait(false);
|
|
|
|
Session activeSession = session
|
|
?? throw new InvalidOperationException("Participant factory did not create a session.");
|
|
activeSession.ReturnDiagnostics = ReturnDiagnostics;
|
|
|
|
UserIdentity? tempIdentity = identity == null ? new UserIdentity() : null;
|
|
try
|
|
{
|
|
await activeSession.OpenAsync(
|
|
sessionName,
|
|
sessionTimeout,
|
|
identity ?? tempIdentity!,
|
|
preferredLocales,
|
|
checkDomain,
|
|
ct).ConfigureAwait(false);
|
|
}
|
|
finally
|
|
{
|
|
tempIdentity = null;
|
|
}
|
|
|
|
return activeSession;
|
|
}
|
|
catch
|
|
{
|
|
if (session != null)
|
|
{
|
|
session.Dispose();
|
|
}
|
|
else
|
|
{
|
|
managedChannel?.Dispose();
|
|
}
|
|
throw;
|
|
}
|
|
}
|
|
|
|
private async Task<ServiceMessageContext> PrepareEndpointAndManagerAsync(
|
|
ApplicationConfiguration configuration,
|
|
ITransportWaitingConnection? connection,
|
|
ConfiguredEndpoint endpoint,
|
|
bool updateBeforeConnect,
|
|
bool checkDomain,
|
|
CancellationToken ct)
|
|
{
|
|
if (configuration == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(configuration));
|
|
}
|
|
if (endpoint == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(endpoint));
|
|
}
|
|
|
|
endpoint.UpdateBeforeConnect = updateBeforeConnect;
|
|
endpoint.Configuration ??= EndpointConfiguration.Create(configuration);
|
|
ServiceMessageContext messageContext = configuration.CreateMessageContext();
|
|
|
|
if (updateBeforeConnect && connection == null)
|
|
{
|
|
await endpoint.UpdateFromServerAsync(messageContext.Telemetry, ct).ConfigureAwait(false);
|
|
}
|
|
|
|
if (checkDomain && endpoint.Description.ServerCertificate.Length > 0)
|
|
{
|
|
using var certificate = Certificate.FromRawData(endpoint.Description.ServerCertificate);
|
|
configuration.CertificateManager?.ValidateDomains(certificate, endpoint);
|
|
}
|
|
|
|
string securityPolicyUri = endpoint.Description.SecurityPolicyUri ?? SecurityPolicies.None;
|
|
if (securityPolicyUri != SecurityPolicies.None)
|
|
{
|
|
Certificate clientCertificate = await Session.LoadInstanceCertificateAsync(
|
|
configuration,
|
|
securityPolicyUri,
|
|
messageContext.Telemetry,
|
|
ct).ConfigureAwait(false);
|
|
CertificateCollection? clientCertificateChain = await Session.LoadCertificateChainAsync(
|
|
configuration,
|
|
clientCertificate,
|
|
ct).ConfigureAwait(false);
|
|
m_manager.UpdateClientCertificate(clientCertificate, clientCertificateChain);
|
|
}
|
|
|
|
return messageContext;
|
|
}
|
|
|
|
private sealed class ChannelOnlyReconnectParticipant : IReconnectParticipant
|
|
{
|
|
public ChannelOnlyReconnectParticipant(ConfiguredEndpoint endpoint)
|
|
{
|
|
Endpoint = endpoint ?? throw new ArgumentNullException(nameof(endpoint));
|
|
Id = nameof(ChannelManagerSessionFactory) + "-" + Guid.NewGuid().ToString("N");
|
|
}
|
|
|
|
public string Id { get; }
|
|
|
|
public ConfiguredEndpoint Endpoint { get; }
|
|
|
|
public ValueTask<ParticipantReconnectResult> OnReconnectAsync(
|
|
IManagedTransportChannel channel,
|
|
int reconnectAttempt,
|
|
CancellationToken ct)
|
|
{
|
|
return new ValueTask<ParticipantReconnectResult>(ParticipantReconnectResult.Reactivated);
|
|
}
|
|
}
|
|
|
|
private readonly IClientChannelManager m_manager;
|
|
private readonly DefaultSessionFactory m_innerFactory;
|
|
private readonly TimeProvider? m_timeProvider;
|
|
}
|
|
}
|