|
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.AgentReroutingEvent
public final class AgentReroutingEvent
Represents an event happening when the router tries once more to affect a contact to an agent.
Field Summary |
---|
Fields inherited from class umontreal.iro.lecuyer.simevents.Event |
---|
eventTime, priority, sim |
Constructor Summary | |
---|---|
AgentReroutingEvent(Router router,
Agent agent,
int numReroutingsDone)
Constructs a new agent rerouting event instructing the router router to try to find a queued contact for the idle agent agent after there was numReroutingsDone preceding reroutings. |
Method Summary | |
---|---|
void |
actions()
|
boolean |
cancel()
|
Agent |
getAgent()
Returns the agent to be assigned a queued contact. |
int |
getNumReroutingsDone()
Returns the number of preceding reroutings. |
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 AgentReroutingEvent(Router router, Agent agent, int numReroutingsDone)
router
- the router to be used.agent
- the agent to be rerouted.numReroutingsDone
- the number of preceding trials.Method Detail |
---|
public Router getRouter()
public Agent getAgent()
public int getNumReroutingsDone()
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 |