atoulme commented on a change in pull request #38: v5 UDP packet handling URL: https://github.com/apache/incubator-tuweni/pull/38#discussion_r335446914
########## File path: devp2p/src/main/kotlin/org/apache/tuweni/devp2p/v5/internal/handler/WhoAreYouMessageHandler.kt ########## @@ -0,0 +1,15 @@ +package org.apache.tuweni.devp2p.v5.internal.handler + +import org.apache.tuweni.bytes.Bytes +import org.apache.tuweni.devp2p.v5.MessageHandler +import org.apache.tuweni.devp2p.v5.UdpConnector +import org.apache.tuweni.devp2p.v5.packet.WhoAreYouMessage +import java.net.InetSocketAddress + +class WhoAreYouMessageHandler: MessageHandler<WhoAreYouMessage> { + + override fun handle(message: WhoAreYouMessage, address: InetSocketAddress, connector: UdpConnector) { + println("Recieved WHOAREYOU message with auth tag ${message.authTag} and nonce ${message.idNonce}") Review comment: consider replacing with the TODO Kotlin function. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tuweni.apache.org For additional commands, e-mail: dev-h...@tuweni.apache.org