Star

class Star(val hub: Seam, val clients: List<GossipSeam>, val source: InMemoryConnectionSource)

A started in-memory star: a hub (GossipSeam FullFanout) and n client GossipSeams. source is the hub's accept handle — admit a fresh client via source.offer(hubEnd).

Constructors

Link copied to clipboard
constructor(hub: Seam, clients: List<GossipSeam>, source: InMemoryConnectionSource)

Properties

Link copied to clipboard
Link copied to clipboard
val hub: Seam
Link copied to clipboard