tuweni / org.apache.tuweni.devp2p.proxy / ProxySubprotocol

ProxySubprotocol

class ProxySubprotocol : SubProtocol (source)

Constructors

<init>

ProxySubprotocol()

Functions

createClient

fun createClient(service: RLPxService, subProtocolIdentifier: SubProtocolIdentifier): ProxyClient

createHandler

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

id

fun id(): SubProtocolIdentifier!

supports

fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean

Companion Object Properties

ID

val ID: SubProtocolIdentifier!