tuweni / org.apache.tuweni.devp2p.eth / EthHelloSubprotocol

EthHelloSubprotocol

class EthHelloSubprotocol : SubProtocol (source)

Constructors

<init>

EthHelloSubprotocol(coroutineContext: CoroutineContext = Dispatchers.Default, blockchainInfo: BlockchainInformation, listener: (WireConnection, Status) -> Unit = { _, _ -> })

Functions

createClient

fun createClient(service: RLPxService, identifier: SubProtocolIdentifier): SubProtocolClient

createHandler

fun createHandler(service: RLPxService, client: SubProtocolClient): SubProtocolHandler

getCapabilities

fun getCapabilities(): MutableList<SubProtocolIdentifier!>

id

fun id(): SubProtocolIdentifier

supports

fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean

Companion Object Properties

ETH62

val ETH62: SubProtocolIdentifier!

ETH63

val ETH63: SubProtocolIdentifier!

ETH64

val ETH64: SubProtocolIdentifier!

ETH65

val ETH65: SubProtocolIdentifier!