tuweni / org.apache.tuweni.devp2p.eth / RandomConnectionSelectionStrategy

RandomConnectionSelectionStrategy

class RandomConnectionSelectionStrategy : ConnectionSelectionStrategy (source)

Constructors

<init>

RandomConnectionSelectionStrategy(repository: WireConnectionRepository)

Properties

repository

val repository: WireConnectionRepository

Functions

selectConnection

fun selectConnection(): WireConnection