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