public class AgentStatus extends java.lang.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 java.lang.String |
ELEMENT_NAME
Element name of the packet extension.
|
static java.lang.String |
NAMESPACE
Namespace of the packet extension.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AgentStatus.ChatInfo> |
getCurrentChats()
Returns a collection of ChatInfo where each ChatInfo represents a Chat where this agent
is participating.
|
java.lang.String |
getElementName()
Returns the root element name.
|
int |
getMaxChats() |
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
java.lang.String |
getWorkgroupJID() |
java.lang.String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public java.lang.String getWorkgroupJID()
public java.util.List<AgentStatus.ChatInfo> getCurrentChats()
public int getMaxChats()
public java.lang.String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public java.lang.String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public java.lang.String toXML()
PacketExtension
toXML
in interface PacketExtension
Copyright © 2003-2007 Jive Software.