tuweni / org.apache.tuweni.rlpx / RLPxMessage

RLPxMessage

class RLPxMessage (source)

Message exchanged over a RLPx connection.

The message is identified by a negotiated code, offset according to the subprotocol mapping.

The message includes the raw content of the message as bytes.

Constructors

<init>

RLPxMessage(messageId: Int, content: Bytes!)

Functions

content

Message raw content

fun content(): Bytes!

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

messageId

Message ID

fun messageId(): Int