SingleThreadInMemTransportFactory

The implementation of TransportFactory which uses single-thread subscribers.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
protected Subscriber newSubscriber(ChannelId channelId)
Creates a new instance of subscriber.

Inherited functions

Link copied to clipboard
public void checkOpen()
Ensures that the object is open.
Link copied to clipboard
public synchronized void close()
public abstract void close()
Link copied to clipboard
public final synchronized Publisher createPublisher(ChannelId id)
Creates a Publisher channel with the given ID.
Link copied to clipboard
public final synchronized Subscriber createSubscriber(ChannelId id)
Creates a Subscriber channel with the given ID.
Link copied to clipboard
public synchronized boolean isOpen()
Tells if the object is still open.
Link copied to clipboard
Creates a new instance of InMemoryTransportFactory.