ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.queue
Class WaitingQueueState

java.lang.Object
  extended by umontreal.iro.lecuyer.contactcenters.queue.WaitingQueueState

public class WaitingQueueState
extends Object

Represents the state of a waiting queue. For now, this state is represented by an array of dequeue events representing queued contacts.


Constructor Summary
protected WaitingQueueState(WaitingQueue queue)
          Constructs a new state object by saving the state of the waiting queue queue.
 
Method Summary
 DequeueEvent[] getQueuedContacts()
          Returns the array containing the queued contacts in the queue at the time the state was saved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitingQueueState

protected WaitingQueueState(WaitingQueue queue)
Constructs a new state object by saving the state of the waiting queue queue.

Parameters:
queue - the queue to be saved.
Method Detail

getQueuedContacts

public DequeueEvent[] getQueuedContacts()
Returns the array containing the queued contacts in the queue at the time the state was saved.

Returns:
the state of the queued contacts.

ContactCenters
V. 0.9.9.

To submit a bug or ask questions, send an e-mail to Richard Simard.