rlpx / org.apache.tuweni.rlpx.wire / SubProtocolHandler / handle

handle

abstract fun handle(connectionId: String, messageType: Int, message: Bytes): AsyncCompletion (source)

Handle an incoming wire protocol message

Parameters

connectionId - the peer connection identifier

messageType - the type of the message

message - the message to be handled

Return
a handle tracking the completion of the handling of the message.