public class Queue extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Queue.Status |
Modifier and Type | Method and Description |
---|---|
void |
addAgent(Agent agent) |
void |
addOffer(Offer offer) |
void |
addUser(User user) |
boolean |
equals(Object o) |
Agent |
getAgent(JID jid) |
Collection<Agent> |
getAgents() |
int |
getAvailableAgents()
Return the total number of agents available in the workgroup.
|
int |
getAverageWaitingTime() |
int |
getCurrentChats()
Returns current total number of chats being handled by agents in the workgroup.
|
BareJID |
getJid() |
int |
getMaxChats()
Returns maximum number of simultaneous conversations that can be handled by agents in the workgroup.
|
String |
getMucDomain() |
Collection<Offer> |
getOffers() |
Date |
getOldestTime()
Returns date and time when the oldest member of the queue joined.
|
QueueStats |
getStats() |
Queue.Status |
getStatus() |
User |
getUser(JID jid) |
Collection<User> |
getUsers() |
int |
hashCode() |
void |
removeAgent(Agent agent) |
Offer |
removeOffer(Queue queue,
JID userJID,
Agent agent) |
void |
removeUser(User user) |
void |
setStatus(Queue.Status status) |
String |
toString() |
public void addAgent(Agent agent)
public void addOffer(Offer offer)
public void addUser(User user)
public Collection<Agent> getAgents()
public int getAvailableAgents()
public int getAverageWaitingTime()
public int getCurrentChats()
public BareJID getJid()
public int getMaxChats()
public String getMucDomain()
public Collection<Offer> getOffers()
public Date getOldestTime()
public QueueStats getStats()
public Queue.Status getStatus()
public void setStatus(Queue.Status status)
public Collection<User> getUsers()
public void removeAgent(Agent agent)
public void removeUser(User user)
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.