InMemoryConnectionSource

In-memory ConnectionSource: offer a hub-end Connection (typically from connectionPair); accept receives it. The same accept path a real server uses, minus the wire — drives a hosted overlay end-to-end under virtual time.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun accept(): Connection
Link copied to clipboard
fun offer(connection: Connection)