tuweni / org.apache.tuweni.rlpx.wire / SubProtocol / createClient

createClient

abstract fun createClient(service: RLPxService!): SubProtocolClient! (source)

Creates a new client for the subprotocol.

Parameters

service - RLPxService!: the rlpx service that will use the handler

Return
SubProtocolClient!: a new client for the subprotocol, bound to the service.