Smack

org.jivesoftware.smackx.workgroup.agent
Interface QueueUsersListener


public interface QueueUsersListener


Method Summary
 void averageWaitTimeUpdated(WorkgroupQueue queue, int averageWaitTime)
          The average wait time of the queue was updated.
 void oldestEntryUpdated(WorkgroupQueue queue, Date oldestEntry)
          The date of oldest entry waiting in the queue was updated.
 void statusUpdated(WorkgroupQueue queue, WorkgroupQueue.Status status)
          The status of the queue was updated.
 void usersUpdated(WorkgroupQueue queue, Set users)
          The list of users waiting in the queue was updated.
 

Method Detail

statusUpdated

void statusUpdated(WorkgroupQueue queue,
                   WorkgroupQueue.Status status)
The status of the queue was updated.

Parameters:
queue - the workgroup queue.
status - the status of queue.

averageWaitTimeUpdated

void averageWaitTimeUpdated(WorkgroupQueue queue,
                            int averageWaitTime)
The average wait time of the queue was updated.

Parameters:
queue - the workgroup queue.
averageWaitTime - the average wait time of the queue.

oldestEntryUpdated

void oldestEntryUpdated(WorkgroupQueue queue,
                        Date oldestEntry)
The date of oldest entry waiting in the queue was updated.

Parameters:
queue - the workgroup queue.
oldestEntry - the date of the oldest entry waiting in the queue.

usersUpdated

void usersUpdated(WorkgroupQueue queue,
                  Set users)
The list of users waiting in the queue was updated.

Parameters:
queue - the workgroup queue.
users - the list of users waiting in the queue.

Smack

Copyright © 2003-2007 Jive Software.