devp2p / org.apache.tuweni.devp2p / PacketType

PacketType

enum class PacketType (source)

Enum Values

PING

PONG

FIND_NODE

NEIGHBORS

ENRREQUEST

ENRRESPONSE

Properties

typeId

val typeId: Byte

Functions

decode

abstract fun decode(payload: Bytes, hash: Bytes32, publicKey: PublicKey, signature: Signature): Packet

Companion Object Functions

forType

fun forType(typeId: Byte): PacketType?