public class AgentChatHistory extends IQ
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentChatHistory.InternalProvider
Packet extension provider for AgentHistory packets.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
Element name of the packet extension.
|
static String |
NAMESPACE
Namespace of the packet extension.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| Constructor and Description |
|---|
AgentChatHistory() |
AgentChatHistory(String agentJID,
int maxSessions) |
AgentChatHistory(String agentJID,
int maxSessions,
Date startDate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatSession(AgentChatSession chatSession) |
Collection |
getAgentChatSessions() |
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
createErrorResponse, createResultIQ, getType, setType, toXMLaddExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTopublic static final String ELEMENT_NAME
public static final String NAMESPACE
public AgentChatHistory(String agentJID, int maxSessions)
public AgentChatHistory()
public void addChatSession(AgentChatSession chatSession)
public Collection getAgentChatSessions()
public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQCopyright © 2003-2007 Jive Software.