tuweni / org.apache.tuweni.devp2p.eth / EthHelloController

EthHelloController

class EthHelloController (source)

Controller managing the state of the ETH or LES subprotocol handlers.

Constructors

<init>

Controller managing the state of the ETH or LES subprotocol handlers.

EthHelloController(connectionsListener: (WireConnection, Status) -> Unit = { _, _ -> })

Properties

connectionsListener

val connectionsListener: (WireConnection, Status) -> Unit

Functions

receiveStatus

fun receiveStatus(connection: WireConnection, status: Status): Unit