public interface TopicServer extends SOMServer
BINDING_PROPERTY, DEFAULT_QUEUE_BINDING_PREFIX, DEFAULT_TOPIC_BINDING_PREFIX, NAME_PROPERTY| Modifier and Type | Method and Description |
|---|---|
PublisherSession |
createPublisherSession(UUID uuid,
String clientName)
Creates a publisher session.
|
SubscriberSession |
createSubscriberSession(UUID uuid,
String clientName)
Creates a subscriber session.
|
TopicInfo |
getInfo()
Gets the topic info.
|
getKeepAlive, getName@Nonnull @CheckReturnValue PublisherSession createPublisherSession(@Nonnull UUID uuid, @Nonnull String clientName) throws RemoteException, SessionException
uuid - A UUID used to locate the RMI client instance.clientName - A descriptive name for the client.RemoteException - From RMI RunTime.SessionException - When the session creation fails.@Nonnull @CheckReturnValue SubscriberSession createSubscriberSession(@Nonnull UUID uuid, @Nonnull String clientName) throws RemoteException, SessionException
uuid - A UUID used to locate the RMI client instance.clientName - A descriptive name for the client.RemoteException - From RMI RunTime.SessionException - When the session creation fails.@Nonnull @CheckReturnValue TopicInfo getInfo() throws RemoteException
RemoteException - From RMI RunTime.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.