org.jivesoftware.smackx.workgroup.ext.history
Class AgentChatHistory
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.workgroup.ext.history.AgentChatHistory
public class AgentChatHistory
- extends IQ
IQ provider used to retrieve individual agent information. Each chat session can be mapped
to one or more jids and therefore retrievable.
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
ELEMENT_NAME
public static final String ELEMENT_NAME
- Element name of the packet extension.
- See Also:
- Constant Field Values
NAMESPACE
public static final String NAMESPACE
- Namespace of the packet extension.
- See Also:
- Constant Field Values
AgentChatHistory
public AgentChatHistory(String agentJID,
int maxSessions,
Date startDate)
AgentChatHistory
public AgentChatHistory(String agentJID,
int maxSessions)
AgentChatHistory
public AgentChatHistory()
addChatSession
public void addChatSession(AgentChatSession chatSession)
getAgentChatSessions
public Collection getAgentChatSessions()
getChildElementXML
public String getChildElementXML()
- Description copied from class:
IQ
- Returns the sub-element XML section of the IQ packet, or null if there
isn't one. Packet extensions must be included, if any are defined.
Extensions of this class must override this method.
- Specified by:
getChildElementXML
in class IQ
- Returns:
- the child element section of the IQ XML.
Copyright © 2003-2007 Jive Software.