Package org.netxms.client
Class UserSession
java.lang.Object
org.netxms.client.UserSession
User session (as reported by agent)
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedUserSession(NXCPMessage msg, long baseId) Create session information object from NXCP message.
- 
Method SummaryModifier and TypeMethodDescriptionlongintintGet textual representation of display parameters (WxHxC)intintintgetId()intboolean
- 
Constructor Details- 
UserSessionCreate session information object from NXCP message.- Parameters:
- msg- NXCP message
- baseId- base field ID
 
 
- 
- 
Method Details- 
getIdpublic int getId()- Returns:
- the id
 
- 
getLoginName- Returns:
- the loginName
 
- 
getTerminal- Returns:
- the terminal
 
- 
isConnectedpublic boolean isConnected()- Returns:
- the connected
 
- 
getClientName- Returns:
- the clientName
 
- 
getClientAddress- Returns:
- the clientAddress
 
- 
getDisplayWidthpublic int getDisplayWidth()- Returns:
- the displayWidth
 
- 
getDisplayHeightpublic int getDisplayHeight()- Returns:
- the displayHeight
 
- 
getDisplayColorDepthpublic int getDisplayColorDepth()- Returns:
- the displayColorDepth
 
- 
getDisplayDescriptionGet textual representation of display parameters (WxHxC)- Returns:
- textual representation of display parameters (WxHxC) or empty string
 
- 
getConnectTime- Returns:
- the connectTime
 
- 
getLoginTime- Returns:
- the loginTime
 
- 
getIdleTimepublic int getIdleTime()- Returns:
- the idleTime
 
- 
getAgentPIDpublic long getAgentPID()- Returns:
- the agentPID
 
- 
getAgentTypepublic int getAgentType()- Returns:
- the agentType
 
 
-