@ThreadSafe public class QueueProxy extends SOMProxy
Modifier and Type | Class and Description |
---|---|
static class |
QueueProxy.Builder
Builder.
|
static class |
QueueProxy.Receiver
Receiver.
|
static class |
QueueProxy.Sender
Sender.
|
SOMProxy.ContextProperties
SessionProxy.Listener, SessionProxy.SessionConnectVetoException
Session.ConnectionMode
PASSWORD_PROPERTY, TIMEOUT_PROPERTY, USER_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connects to a session.
|
protected Session |
createSession()
Creates a session.
|
QueueInfo |
getInfo()
Gets the queue info.
|
static QueueProxy.Builder |
newBuilder()
Returns a new builder.
|
close, confirmTimeout, disconnect, getSOMName, isClosed
getClientName, getConnectionMode, getContext, getContextUUID, getFactory, getServerName, getServerURI, getSession, getThisLogger, hasLoginInfo, isConnected, isPrivate, isRemote, lockConnect, lockConnectInterruptibly, login, logout, sessionException, sessionMode, tearDown, unlockConnect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectionMode, login, logout
@Nonnull @CheckReturnValue public static QueueProxy.Builder newBuilder()
public final void connect() throws SessionConnectFailedException
This method may be called redundantly.
connect
in class SOMProxy
SessionConnectFailedException
- When connect fails.@Nonnull @CheckReturnValue public final QueueInfo getInfo() throws SessionConnectFailedException
SessionConnectFailedException
- When connect fails.protected Session createSession() throws RemoteException, SessionException
createSession
in class SessionProxy
RemoteException
- From RMI.SessionException
- When session creation fails.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.