public class SingleThreadInMemTransportFactory extends InMemoryTransportFactory
TransportFactory
which uses single-thread subscribers.Modifier | Constructor and Description |
---|---|
protected |
SingleThreadInMemTransportFactory() |
Modifier and Type | Method and Description |
---|---|
static SingleThreadInMemTransportFactory |
newInstance() |
protected Subscriber |
newSubscriber(io.spine.server.transport.ChannelId channelId)
Creates a new instance of subscriber.
|
close, createPublisher, createSubscriber, isOpen
public static SingleThreadInMemTransportFactory newInstance()
protected Subscriber newSubscriber(io.spine.server.transport.ChannelId channelId)
InMemoryTransportFactory
The descendants may override this method to customize the implementation of subscribers
to use within this TransportFactory
instance.
newSubscriber
in class InMemoryTransportFactory
channelId
- the identifier of the resulting subscriber