Interface RemoteSession


  • public interface RemoteSession
    The remote session.
    Provides access to the remote (server-side) client session.
    Author:
    harald
    • Method Detail

      • getClientSessionInfo

        SessionInfo getClientSessionInfo()
        Gets the client user info.

        The server may set certain values in the session info that may be of interest by the client application, for example the userId.

        Returns:
        the session info
      • log

        void log​(org.tentackle.log.Logger.Level level,
                 java.lang.String message)
        Logs at the server-side.
        Parameters:
        level - the log level
        message - the log message
      • logStatistics

        void logStatistics​(org.tentackle.log.Logger.Level level,
                           boolean clear)
        Logs the statistics at the server-side.
        Parameters:
        level - the logging level
        clear - true if clear statistics after dump