Transport
TransportDisconnectReason
Why a transport link closed, in terms that do not depend on the transport: carried by a TransportEvent.Kind.Disconnected event in TransportEvent.Reason.
generated from the sources
Enum in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Transport/ITransport.cspublic enum TransportDisconnectReason : byteWhy a transport link closed, in terms that do not depend on the transport: carried by a TransportEvent.Kind.Disconnected event in TransportEvent.Reason. A transport that cannot tell reports Unknown.
Members
| Name | Value | Description |
|---|---|---|
Unknown | 0 | The transport did not say, or could not tell. |
LocalRequest | 1 | This side closed the link (ITransport.Disconnect or ITransport.Stop). |
Timeout | 2 | The link was up and the remote stopped answering for longer than the transport's disconnect timeout. |
NetworkUnreachable | 3 | The local network is down: no route to any host, no interface, or the socket failed. |
HostUnreachable | 4 | The link never came up: the host did not answer, refused the connection, or its name did not resolve. |
ClosedByRemote | 5 | The remote closed the link, or no longer knows this side (it restarted). |
Rejected | 6 | The remote refused the connection request at the transport level, for example a different connection key or protocol. |
SecurityFailure | 7 | A secure transport refused the link: the key exchange failed or the certificate did not match. |