tuweni / org.apache.tuweni.rlpx / WireConnectionRepository / addDisconnectionListener

addDisconnectionListener

abstract fun addDisconnectionListener(listener: Listener!): Unit (source)

Adds a listener called when disconnection occurs, either from us or the peer initiative.

Parameters

listener - Listener!: the listener