tuweni / org.apache.tuweni.ethclient / MemoryEthereumPeerRepository / addStatusListener

addStatusListener

fun addStatusListener(statusListener: (EthereumConnection) -> Unit): String (source)

Adds a listener to be called when a status message is received

Parameters

statusListener - the listener

Return
a listener ID