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 - String!: the peer connection identifier

messageType - Int: the type of the message

message - Bytes!: the message to be handled

Return
AsyncCompletion!: a handle tracking the completion of the handling of the message.