interface SubProtocol
(source)
Defines a subprotocol to be used for wire connections
abstract fun createHandler(service: RLPxService): SubProtocolHandler
Creates a new handler for the subprotocol. |
|
abstract fun id(): SubProtocolIdentifier |
|
abstract fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean |
|
abstract fun versionRange(version: Int): Int
Provides the length of the range of message types supported by the subprotocol for a given version |
class LESSubprotocol : SubProtocol
The LES subprotocol entry point class, to be used in conjunction with RLPxService |