Class AgentStatus.ChatInfo
java.lang.Object
org.jivesoftware.smackx.workgroup.packet.AgentStatus.ChatInfo
- Enclosing class:
- AgentStatus
Represents information about a Chat where this Agent is participating.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Returns the date when this agent joined the chat.getEmail()
Returns the email address associated with the user.Returns the question the user asked.Returns the sessionID associated to this chat.Returns the user unique identification of the user that made the initial request and for which this chat was generated.Returns the username(nickname) associated with the user.toXML()
-
Constructor Details
-
ChatInfo
-
-
Method Details
-
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
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
Returns the date when this agent joined the chat.- Returns:
- the date when this agent joined the chat.
-
getEmail
Returns the email address associated with the user.- Returns:
- the email address associated with the user.
-
getUsername
Returns the username(nickname) associated with the user.- Returns:
- the username associated with the user.
-
getQuestion
Returns the question the user asked.- Returns:
- the question the user asked, if any.
-
toXML
-