public interface QueueServer extends SOMServer
BINDING_PROPERTY, DEFAULT_QUEUE_BINDING_PREFIX, DEFAULT_TOPIC_BINDING_PREFIX, NAME_PROPERTY
Modifier and Type | Method and Description |
---|---|
ReceiverSession |
createReceiverSession(UUID uuid,
String clientName)
Creates a receiver session.
|
SenderSession |
createSenderSession(UUID uuid,
String clientName)
Creates a sender session.
|
QueueInfo |
getInfo()
Gets the queue info.
|
getKeepAlive, getName
@Nonnull @CheckReturnValue ReceiverSession createReceiverSession(@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 SenderSession createSenderSession(@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 QueueInfo getInfo() throws RemoteException
RemoteException
- From RMI RunTime.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.