tuweni / org.apache.tuweni.rlpx.wire / WireConnection / getDisconnectReason

getDisconnectReason

abstract fun getDisconnectReason(): DisconnectReason! (source)

If the connection is disconnected, the reason for which the connection is disconnected.

Return
DisconnectReason!: the disconnect reason if it happened.