public class SubscriberHub extends ChannelHub<Subscriber>
Subscriber
s.
Creates and manages the existing subscriber channels born in the given TransportFactory.
Constructor and Description |
---|
SubscriberHub(TransportFactory transportFactory) |
Modifier and Type | Method and Description |
---|---|
protected Subscriber |
newChannel(io.spine.server.transport.ChannelId id)
Creates a new channel under the specified ID.
|
close, closeStaleChannels, get, hasChannel, ids
public SubscriberHub(TransportFactory transportFactory)
protected Subscriber newChannel(io.spine.server.transport.ChannelId id)
ChannelHub
newChannel
in class ChannelHub<Subscriber>
id
- the ID of the channel to create