public class AgentStatus extends Object implements PacketExtension
Modifier and Type | Class and Description |
---|---|
static class |
AgentStatus.ChatInfo
Represents information about a Chat where this Agent is participating.
|
static class |
AgentStatus.Provider
Packet extension provider for AgentStatus 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.
|
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.
|
String |
getWorkgroupJID() |
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public String getWorkgroupJID()
public List<AgentStatus.ChatInfo> getCurrentChats()
public int getMaxChats()
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension