tuweni / org.apache.tuweni.ethclient / ScoredConnectionSelectionStrategy

ScoredConnectionSelectionStrategy

class ScoredConnectionSelectionStrategy : ConnectionSelectionStrategy (source)

Constructors

<init>

ScoredConnectionSelectionStrategy(adapter: WireConnectionPeerRepositoryAdapter)

Properties

adapter

val adapter: WireConnectionPeerRepositoryAdapter

Functions

selectConnection

fun selectConnection(): WireConnection