class EphemeralPeerRepository : PeerRepository
(source)
In-memory peer repository.
EphemeralPeerRepository()
In-memory peer repository. |
fun addEager(peer: Peer): Unit |
|
fun considerNewPeer(peer: Peer): Unit |
|
fun eagerPushPeers(): MutableCollection<Peer> |
|
fun lazyPushPeers(): MutableCollection<Peer> |
|
fun moveToEager(peer: Peer): Unit |
|
fun moveToLazy(peer: Peer): Boolean |
|
fun peers(): MutableList<Peer> |
|
fun removePeer(peer: Peer): Unit |