tuweni / org.apache.tuweni.rlpx.wire / SubProtocolIdentifier

SubProtocolIdentifier

interface SubProtocolIdentifier (source)

Identifier of a subprotocol, comprised of a name and version.

Functions

name

Provides the subprotocol name

abstract fun name(): String!

of

open static fun of(name: String!, version: Int): SubProtocolIdentifier!

version

Provides the subprotocol version

abstract fun version(): Int