Show / Hide Table of Contents

Enum ConnectionTransitionKind

The kind of operation that moved the connection.

Namespace: Xrpl.Client
Assembly: Xrpl.dll
Syntax
public enum ConnectionTransitionKind
Remarks

Carried by ConnectionSupersededException, which is how a caller learns that its operation was overtaken - and by what. The reaction differs: another ChangeServer put the client on a server the caller did not ask for, while Reconnect means the health check rebuilt the connection to the same one.

Disconnect is reachable only on a request that was in flight when Disconnect() swept it. An operation overtaken by a Disconnect() is told the client is down - ClientDisconnectedException - which is what that path has always reported and what a caller catching NotConnectedException still expects.

Fields

Name Description
ChangeServer

A ChangeServer from the consumer.

Connect

A Connect() from the consumer.

Disconnect

A Disconnect() or DisconnectAndWaitAsync() from the consumer.

Reconnect

A reconnect the client started on its own, from the health check.

Extension Methods

EmumExtensions.DecodeFlags<ConnectionTransitionKind>(ConnectionTransitionKind)
EmumExtensions.FlagsValues<ConnectionTransitionKind>(ConnectionTransitionKind)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX