1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-07-03 00:22:34 +02:00
Smack/source/org/jivesoftware/smackx/workgroup/agent/QueueAgentsListener.java
Matt Tucker 5d656558fd Initial check-in.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2369 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-16 00:57:36 +00:00

30 lines
947 B
Java

package org.jivesoftware.smackx.workgroup.agent;
import java.util.Set;
public interface QueueAgentsListener {
/**
* The current number of chats the agents are handling was updated.
*
* @param queue the workgroup queue.
* @param currentChats the current number of chats the agents are handling.
*/
public void currentChatsUpdated(WorkgroupQueue queue, int currentChats);
/**
* The maximum number of chats the agents can handle was updated.
*
* @param queue the workgroup queue.
* @param maxChats the maximum number of chats the agents can handle.
*/
public void maxChatsUpdated(WorkgroupQueue queue, int maxChats);
/**
* The list of available agents servicing the queue was updated.
*
* @param queue the workgroup queue.
* @param agents the available agents servicing the queue.
*/
public void agentsUpdated(WorkgroupQueue queue, Set agents);
}