devp2p-eth / org.apache.tuweni.devp2p.eth / EthSubprotocol

EthSubprotocol

class EthSubprotocol : SubProtocol (source)

Constructors

<init>

EthSubprotocol(coroutineContext: CoroutineContext = Dispatchers.Default, blockchainInfo: BlockchainInformation, repository: BlockchainRepository)

Functions

createClient

fun createClient(service: RLPxService): SubProtocolClient

createHandler

fun createHandler(service: RLPxService): SubProtocolHandler

getCapabilities

fun getCapabilities(): MutableList<SubProtocolIdentifier!>

id

fun id(): SubProtocolIdentifier

supports

fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean

versionRange

fun versionRange(version: Int): Int

Companion Object Properties

ETH62

val ETH62: SubProtocolIdentifier!

ETH63

val ETH63: SubProtocolIdentifier!

ETH64

val ETH64: SubProtocolIdentifier!