Nebula
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
public enum TransportDisconnectReason : byte

Why 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

NameValueDescription
Unknown0The transport did not say, or could not tell.
LocalRequest1This side closed the link (ITransport.Disconnect or ITransport.Stop).
Timeout2The link was up and the remote stopped answering for longer than the transport's disconnect timeout.
NetworkUnreachable3The local network is down: no route to any host, no interface, or the socket failed.
HostUnreachable4The link never came up: the host did not answer, refused the connection, or its name did not resolve.
ClosedByRemote5The remote closed the link, or no longer knows this side (it restarted).
Rejected6The remote refused the connection request at the transport level, for example a different connection key or protocol.
SecurityFailure7A secure transport refused the link: the key exchange failed or the certificate did not match.

On this page