Class AgentStatus.ChatInfo
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.packet.AgentStatus.ChatInfo
-
- Enclosing class:
- AgentStatus
public static class AgentStatus.ChatInfo extends Object
Represents information about a Chat where this Agent is participating.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getDate()
Returns the date when this agent joined the chat.String
getEmail()
Returns the email address associated with the user.String
getQuestion()
Returns the question the user asked.String
getSessionID()
Returns the sessionID associated to this chat.String
getUserID()
Returns the user unique identification of the user that made the initial request and for which this chat was generated.String
getUsername()
Returns the username(nickname) associated with the user.String
toXML()
-
-
-
Method Detail
-
getSessionID
public String getSessionID()
Returns the sessionID associated to this chat. Each chat will have a unique sessionID that could be used for retrieving the whole transcript of the conversation.- Returns:
- the sessionID associated to this chat.
-
getUserID
public String getUserID()
Returns the user unique identification of the user that made the initial request and for which this chat was generated. If the user joined using an anonymous connection then the userID will be the value of the ID attribute of the USER element. Otherwise, the userID will be the bare JID of the user that made the request.- Returns:
- the user unique identification of the user that made the initial request.
-
getDate
public Date getDate()
Returns the date when this agent joined the chat.- Returns:
- the date when this agent joined the chat.
-
getEmail
public String getEmail()
Returns the email address associated with the user.- Returns:
- the email address associated with the user.
-
getUsername
public String getUsername()
Returns the username(nickname) associated with the user.- Returns:
- the username associated with the user.
-
getQuestion
public String getQuestion()
Returns the question the user asked.- Returns:
- the question the user asked, if any.
-
-