|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.workgroup.agent.Agent
public class Agent
The Agent class is used to represent one agent in a Workgroup Queue.
| Method Summary | |
|---|---|
java.lang.String |
getName()
Return the agents name. |
java.lang.String |
getUser()
Return the agents JID |
static java.util.Collection<java.lang.String> |
getWorkgroups(java.lang.String serviceJID,
java.lang.String agentJID,
Connection connection)
|
void |
setName(java.lang.String newName)
Changes the name of the agent in the server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Collection<java.lang.String> getWorkgroups(java.lang.String serviceJID,
java.lang.String agentJID,
Connection connection)
throws XMPPException
XMPPExceptionpublic java.lang.String getUser()
public java.lang.String getName()
throws XMPPException
XMPPException
public void setName(java.lang.String newName)
throws XMPPException
newName - the new name of the agent.
XMPPException - if the agent is not allowed to change his name or no response was
obtained from the server.
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||