|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smackx.workgroup.agent.Agent
public class Agent
An agent represents the agent role in a workgroup queue.
Constructor Summary | |
---|---|
Agent(String user,
int currentChats,
int maxChats,
Presence presence)
Creates an Agent. |
Method Summary | |
---|---|
int |
getCurrentChats()
Return the number of chats this agent is currently in. |
int |
getMaxChats()
Return the maximum number of chats this agent can participate in. |
Presence |
getPresence()
Return this agent's presence. |
String |
getUser()
Return this agent's JID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Agent(String user, int currentChats, int maxChats, Presence presence)
user
- the agent's JID.currentChats
- the number of chats the agent is currently in.maxChats
- the maximum number of chats the agent is allowed in.presence
- the agent's presence.Method Detail |
---|
public String getUser()
public int getMaxChats()
public int getCurrentChats()
public Presence getPresence()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |