public interface RemoteSession
The remote session.
Provides access to the remote (server-side) client session.
Provides access to the remote (server-side) client session.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptionGets the client session info.voidlog(String name, Logger.Level level, String message) Logs a message at the server-side.voidlog(Logger.Level level, String message) Logs a message at the server-side.
Uses the static logger of the remote session implementation class.voidlogStatistics(Logger.Level level, boolean clear) Logs the RMI-statistics at the server-side.
Uses the static logger of the remote session implementation class.
-
Method Details
-
getClientSessionInfo
SessionInfo getClientSessionInfo()Gets the client session info.The server may set certain values in the session info that may be of interest for the client application, for example the user-ID.
- Returns:
- the session info
-
log
Logs a message at the server-side.
Uses the static logger of the remote session implementation class.- Parameters:
level- the log levelmessage- the log message
-
log
Logs a message at the server-side.- Parameters:
name- the logger namelevel- the log levelmessage- the log message
-
logStatistics
Logs the RMI-statistics at the server-side.
Uses the static logger of the remote session implementation class.- Parameters:
level- the logging levelclear- true if clear statistics after dump
-