rlpx / org.apache.tuweni.rlpx.wire / WireConnection

WireConnection

interface WireConnection (source)

A stateful connection between two peers under the Devp2p wire protocol.

Functions

id

abstract fun id(): String!

supports

Returns true if the connection supports the subprotocol

abstract fun supports(subProtocolIdentifier: SubProtocolIdentifier!): Boolean

Inheritors

DefaultWireConnection

A stateful connection between two peers under the Devp2p wire protocol.

class DefaultWireConnection : WireConnection