Class UserSession

java.lang.Object
org.netxms.client.UserSession

public class UserSession extends Object
User session (as reported by agent)
  • Constructor Details

    • UserSession

      protected UserSession(NXCPMessage msg, long baseId)
      Create session information object from NXCP message.
      Parameters:
      msg - NXCP message
      baseId - base field ID
  • Method Details

    • getId

      public int getId()
      Returns:
      the id
    • getLoginName

      public String getLoginName()
      Returns:
      the loginName
    • getTerminal

      public String getTerminal()
      Returns:
      the terminal
    • isConnected

      public boolean isConnected()
      Returns:
      the connected
    • getClientName

      public String getClientName()
      Returns:
      the clientName
    • getClientAddress

      public InetAddress getClientAddress()
      Returns:
      the clientAddress
    • getDisplayWidth

      public int getDisplayWidth()
      Returns:
      the displayWidth
    • getDisplayHeight

      public int getDisplayHeight()
      Returns:
      the displayHeight
    • getDisplayColorDepth

      public int getDisplayColorDepth()
      Returns:
      the displayColorDepth
    • getDisplayDescription

      public String getDisplayDescription()
      Get textual representation of display parameters (WxHxC)
      Returns:
      textual representation of display parameters (WxHxC) or empty string
    • getConnectTime

      public Date getConnectTime()
      Returns:
      the connectTime
    • getLoginTime

      public Date getLoginTime()
      Returns:
      the loginTime
    • getIdleTime

      public int getIdleTime()
      Returns:
      the idleTime
    • getAgentPID

      public long getAgentPID()
      Returns:
      the agentPID
    • getAgentType

      public int getAgentType()
      Returns:
      the agentType