devp2p / org.apache.tuweni.devp2p.v5.internal.handler / WhoAreYouMessageHandler

WhoAreYouMessageHandler

class WhoAreYouMessageHandler : MessageHandler<WhoAreYouMessage> (source)

Handles WHOAREYOU messages.

WHOAREYOU is sent by the other node after the first message is sent, asking to initiate the connection.

Constructors

<init>

Handles WHOAREYOU messages.

WhoAreYouMessageHandler()

Functions

handle

suspend fun handle(message: WhoAreYouMessage, address: InetSocketAddress, srcNodeId: Bytes, connector: UdpConnector): Unit