Class Agent


  • public class Agent
    extends java.lang.Object
    The Agent class is used to represent one agent in a Workgroup Queue.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Return the agents name.
      Jid getUser()
      Return the agents JID.
      static java.util.Collection<java.lang.String> getWorkgroups​(Jid serviceJID, Jid agentJID, XMPPConnection 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