@ThreadSafe public abstract class SOMSessionImpl extends ExportedSessionImpl implements SOMSession
Session.ConnectionMode
Modifier | Constructor and Description |
---|---|
protected |
SOMSessionImpl(SOMServerImpl sessionFactory,
Session.ConnectionMode connectionMode,
String clientName)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected long |
adjustTimeout(long timeout)
Adjusts the timeout with the keep-alive interval.
|
protected abstract String |
getType()
Gets the session type.
|
String |
toString() |
close, equals, hashCode, open
getClientName, getConnectionMode, getIdentity, getSessionFactory, getThisLogger, getUser, isClosed, login, logout, open, securityCheck, setLogID, setUser, unreferenced
close
getConnectionMode, login, logout
protected SOMSessionImpl(@Nonnull SOMServerImpl sessionFactory, @Nonnull Session.ConnectionMode connectionMode, @Nonnull String clientName)
sessionFactory
- The factory creating this.connectionMode
- The connection mode.clientName
- A descriptive name for the client.public final String toString()
toString
in class SessionImpl
@CheckReturnValue protected long adjustTimeout(long timeout)
timeout
- The specified timeout.@Nonnull @CheckReturnValue protected abstract String getType()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.