|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.simevents.Event
umontreal.iro.lecuyer.contactcenters.router.ContactReroutingEvent
public final class ContactReroutingEvent
Represents an event happening when the router tries to reroute a queued contact to an agent, or another queue.
Field Summary |
---|
Fields inherited from class umontreal.iro.lecuyer.simevents.Event |
---|
eventTime, priority, sim |
Constructor Summary | |
---|---|
ContactReroutingEvent(Router router,
DequeueEvent dqEv,
int numReroutingsDone)
Constructs an event that will reroute the queued contact dqEv to an agent or another queue. |
Method Summary | |
---|---|
void |
actions()
|
boolean |
cancel()
|
DequeueEvent |
getDequeueEvent()
Returns the dequeue event associated with this rerouting event. |
int |
getNumReroutingsDone()
Returns the number of reroutings done, i.e., the number of calls to actions() having resulted in the contact not being
transferred to an agent. |
Router |
getRouter()
Returns the router associated with this event. |
boolean |
isObsolete()
|
void |
schedule(double delay)
|
void |
scheduleAfter(Event other)
|
void |
scheduleBefore(Event other)
|
void |
scheduleNext()
|
String |
toString()
|
Methods inherited from class umontreal.iro.lecuyer.simevents.Event |
---|
cancel, compareTo, getRa, priority, reschedule, setPriority, setRa, setSimulator, setTime, simulator, time |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContactReroutingEvent(Router router, DequeueEvent dqEv, int numReroutingsDone)
router
- the router this event is linked to.dqEv
- the dequeue event.numReroutingsDone
- the number of reroutings done.Method Detail |
---|
public Router getRouter()
public DequeueEvent getDequeueEvent()
public int getNumReroutingsDone()
actions()
having resulted in the contact not being
transferred to an agent.
public boolean cancel()
cancel
in class Event
public void schedule(double delay)
schedule
in class Event
public void scheduleAfter(Event other)
scheduleAfter
in class Event
public void scheduleBefore(Event other)
scheduleBefore
in class Event
public void scheduleNext()
scheduleNext
in class Event
public boolean isObsolete()
public void actions()
actions
in class Event
public String toString()
toString
in class Object
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |