devp2p / org.apache.tuweni.devp2p.v5.packet / PongMessage

PongMessage

class PongMessage : UdpMessage (source)

Constructors

<init>

PongMessage(requestId: Bytes = UdpMessage.requestId(), enrSeq: Long = 0, recipientIp: InetAddress, recipientPort: Int)

Properties

enrSeq

val enrSeq: Long

recipientIp

val recipientIp: InetAddress

recipientPort

val recipientPort: Int

requestId

val requestId: Bytes

Functions

encode

fun encode(): Bytes

getMessageType

fun getMessageType(): Bytes

Companion Object Functions

create

fun create(content: Bytes): PongMessage