|
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.server.RestoreAgentsEvent
public class RestoreAgentsEvent
Represents an event that restores the state of busy and ghost agents after the service of contacts are started, during state restoration.
Field Summary |
---|
Fields inherited from class umontreal.iro.lecuyer.simevents.Event |
---|
eventTime, priority, sim |
Constructor Summary | |
---|---|
RestoreAgentsEvent(DetailedAgentGroup dgroup,
AgentState[] busyAgents,
AgentState[] ghostAgents)
Constructs a new agent restoration event concerning agents in the group dgroup. |
Method Summary | |
---|---|
void |
actions()
|
AgentState[] |
getBusyAgents()
Returns the state of the busy agents that will be restored when the event occurs. |
AgentState[] |
getGhostAgents()
Returns the state of the ghost agents that will be restored when this event occurs. |
DetailedAgentGroup |
getTargetAgentGroup()
Returns the agent group affected by this event. |
String |
toString()
|
Methods inherited from class umontreal.iro.lecuyer.simevents.Event |
---|
cancel, cancel, compareTo, getRa, priority, reschedule, schedule, scheduleAfter, scheduleBefore, scheduleNext, 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 RestoreAgentsEvent(DetailedAgentGroup dgroup, AgentState[] busyAgents, AgentState[] ghostAgents)
dgroup
- the agent group affected by the restoration.busyAgents
- the busy agents to be restored.ghostAgents
- the ghost agents to be removed from the group.Method Detail |
---|
public DetailedAgentGroup getTargetAgentGroup()
public AgentState[] getBusyAgents()
public AgentState[] getGhostAgents()
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 |