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

createHandler

abstract fun createHandler(service: RLPxService!, client: SubProtocolClient!): SubProtocolHandler! (source)

Creates a new handler for the subprotocol.

Parameters

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

client - SubProtocolClient!: the subprotocol client

Return
SubProtocolHandler!: a new handler for the subprotocol, bound to the service.