@ThreadSafe public abstract class ExportedSessionImpl extends SessionImpl
Session.ConnectionMode
Modifier | Constructor and Description |
---|---|
protected |
ExportedSessionImpl(String clientName,
SessionFactory sessionFactory,
Session.ConnectionMode connectionMode)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the session.
|
boolean |
equals(Object object) |
int |
hashCode() |
void |
open(RMIClientSocketFactory clientSocketFactory,
RMIServerSocketFactory serverSocketFactory)
Opens this.
|
getClientName, getConnectionMode, getIdentity, getSessionFactory, getThisLogger, getUser, isClosed, login, logout, open, securityCheck, setLogID, setUser, toString, unreferenced
protected ExportedSessionImpl(@Nonnull String clientName, @Nonnull SessionFactory sessionFactory, @Nonnull Session.ConnectionMode connectionMode)
clientName
- A descriptive name for the client.sessionFactory
- The factory creating this.connectionMode
- The connection mode.public void close()
close
in class SessionImpl
public final boolean equals(Object object)
equals
in class Object
public final int hashCode()
hashCode
in class Object
public void open(@Nullable RMIClientSocketFactory clientSocketFactory, @Nullable RMIServerSocketFactory serverSocketFactory)
clientSocketFactory
- The RMI client socket factory instance.serverSocketFactory
- The RMI server socket factory instance.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.