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 |
| Connect | A |
| Disconnect | A |
| Reconnect | A reconnect the client started on its own, from the health check. |