Interface EssSession

All Superinterfaces:
EssObject
All Known Implementing Classes:
EssSessionImpl

public interface EssSession extends EssObject
  • Method Details

    • getSessionId

      Long getSessionId()
      Gets the ID of this session.
      Returns:
      the session ID
    • getUserId

      String getUserId()
      Get the user for the session.
      Returns:
      the user ID
    • getLoginTimeInSeconds

      long getLoginTimeInSeconds()
      Number of seconds session has been created
      Returns:
      the number of seconds the session has been created
    • getConnectionSource

      String getConnectionSource()
      Get the connection source (not sure what this signifies, but it's in the source JSON...)
      Returns:
      the connection source
    • kill

      void kill(boolean logoff)
      Kill the session.
      Parameters:
      logoff - true to also log it off (e.g., it'll disappear from the list of sessions)
    • getName

      String getName()
      Standard implementation.
      Specified by:
      getName in interface EssObject
      Returns:
      the name of session (the ID)
    • getType

      EssObject.Type getType()
      Description copied from interface: EssObject
      Gets the type of this object.
      Specified by:
      getType in interface EssObject
      Returns:
      the object type