public class AgentStatus extends Object implements ExtensionElement
Modifier and Type | Class and Description |
---|---|
static class |
AgentStatus.ChatInfo
Represents information about a Chat where this Agent is participating.
|
static class |
AgentStatus.Provider
Stanza extension provider for AgentStatus packets.
|
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the stanza extension.
|
static String |
NAMESPACE
Namespace of the stanza extension.
|
Modifier and Type | Method and Description |
---|---|
List<AgentStatus.ChatInfo> |
getCurrentChats()
Returns a collection of ChatInfo where each ChatInfo represents a Chat where this agent
is participating.
|
String |
getElementName()
Returns the root element name.
|
int |
getMaxChats() |
String |
getNamespace()
Returns the root element XML namespace.
|
org.jxmpp.jid.EntityBareJid |
getWorkgroupJID() |
String |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public org.jxmpp.jid.EntityBareJid getWorkgroupJID()
public List<AgentStatus.ChatInfo> getCurrentChats()
public int getMaxChats()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement