|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 | |
---|---|
String |
getName()
Return the agents name. |
String |
getUser()
Return the agents JID |
static Collection |
getWorkgroups(String serviceJID,
String agentJID,
XMPPConnection connection)
|
void |
setName(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 Collection getWorkgroups(String serviceJID, String agentJID, XMPPConnection connection) throws XMPPException
XMPPException
public String getUser()
public String getName() throws XMPPException
XMPPException
public void setName(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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |