Smack

org.jivesoftware.smackx.workgroup.user
Interface QueueListener


public interface QueueListener

Listener interface for those that wish to be notified of workgroup queue events.

Author:
loki der quaeler
See Also:
Workgroup.addQueueListener(QueueListener)

Method Summary
 void departedQueue()
          The user departed the workgroup queue.
 void joinedQueue()
          The user joined the workgroup queue.
 void queuePositionUpdated(int currentPosition)
          The user's queue position has been updated to a new value.
 void queueWaitTimeUpdated(int secondsRemaining)
          The user's estimated remaining wait time in the queue has been updated.
 

Method Detail

joinedQueue

void joinedQueue()
The user joined the workgroup queue.


departedQueue

void departedQueue()
The user departed the workgroup queue.


queuePositionUpdated

void queuePositionUpdated(int currentPosition)
The user's queue position has been updated to a new value.

Parameters:
currentPosition - the user's current position in the queue.

queueWaitTimeUpdated

void queueWaitTimeUpdated(int secondsRemaining)
The user's estimated remaining wait time in the queue has been updated.

Parameters:
secondsRemaining - the estimated number of seconds remaining until the the user is routed to the agent.

Smack

Copyright © 2003-2007 Jive Software.