tuweni / org.apache.tuweni.rlpx / MemoryWireConnectionsRepository

MemoryWireConnectionsRepository

open class MemoryWireConnectionsRepository : WireConnectionRepository (source)

In-memory implementation of the wire connections repository.

Constructors

<init>

In-memory implementation of the wire connections repository.

MemoryWireConnectionsRepository()

Functions

add

open fun add(wireConnection: WireConnection!): String!

addConnectionListener

open fun addConnectionListener(listener: Listener!): Unit

addDisconnectionListener

open fun addDisconnectionListener(listener: Listener!): Unit

asIterable

open fun asIterable(): MutableIterable<WireConnection!>!
open fun asIterable(identifier: SubProtocolIdentifier!): MutableIterable<WireConnection!>!

asMap

open fun asMap(): MutableMap<String!, WireConnection!>!

close

open fun close(): Unit

get

open fun get(id: String!): WireConnection?