public class AgentChatHistory
extends org.jivesoftware.smack.packet.IQ
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentChatHistory.InternalProvider
Stanza(/Packet) extension provider for AgentHistory packets.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT_NAME
Element name of the stanza(/packet) extension.
|
static java.lang.String |
NAMESPACE
Namespace of the stanza(/packet) extension.
|
| Constructor and Description |
|---|
AgentChatHistory() |
AgentChatHistory(java.lang.String agentJID,
int maxSessions) |
AgentChatHistory(java.lang.String agentJID,
int maxSessions,
java.util.Date startDate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatSession(AgentChatSession chatSession) |
java.util.Collection<AgentChatSession> |
getAgentChatSessions() |
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf) |
createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXMLaddCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, overrideExtension, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toStringpublic static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public AgentChatHistory(java.lang.String agentJID,
int maxSessions,
java.util.Date startDate)
public AgentChatHistory(java.lang.String agentJID,
int maxSessions)
public AgentChatHistory()
public void addChatSession(AgentChatSession chatSession)
public java.util.Collection<AgentChatSession> getAgentChatSessions()
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
getIQChildElementBuilder in class org.jivesoftware.smack.packet.IQ