@ThreadSafe public abstract class SOMProxy extends SessionProxy implements SOMSession
| Modifier and Type | Class and Description |
|---|---|
static class |
SOMProxy.Builder
Builder.
|
static class |
SOMProxy.ContextProperties
Context properties.
|
SessionProxy.Listener, SessionProxy.SessionConnectVetoExceptionSession.ConnectionMode| Modifier and Type | Field and Description |
|---|---|
static String |
PASSWORD_PROPERTY
The user password.
|
static String |
TIMEOUT_PROPERTY
The timeout property.
|
static String |
USER_PROPERTY
The user identification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the session.
|
protected void |
confirmTimeout()
Confirms the timeout to the context.
|
void |
connect()
Connects to a session.
|
void |
disconnect()
Disconnects from the session.
|
String |
getSOMName()
Gets the SOM name.
|
boolean |
isClosed()
Asks if this is closed.
|
createSession, getClientName, getConnectionMode, getContext, getContextUUID, getFactory, getServerName, getServerURI, getSession, getThisLogger, hasLoginInfo, isConnected, isPrivate, isRemote, lockConnect, lockConnectInterruptibly, login, logout, sessionException, sessionMode, tearDown, unlockConnectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionMode, login, logoutpublic static final String PASSWORD_PROPERTY
public static final String TIMEOUT_PROPERTY
public static final String USER_PROPERTY
public void close()
throws SessionException
close in interface SOMSessionSessionException - When the session logout fails.public void connect()
throws SessionConnectFailedException
This method may be called redundantly.
connect in class SessionProxySessionConnectFailedException - When connect fails.public final void disconnect()
This method may be called redundantly.
disconnect in class SessionProxy@Nonnull @CheckReturnValue public final String getSOMName()
@CheckReturnValue public final boolean isClosed()
protected void confirmTimeout()
throws RemoteException,
SessionConnectFailedException
RemoteException - From RMI.SessionConnectFailedException - When connect fails.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.