public interface SimQueueListener<J extends SimJob,Q extends SimQueue> extends SimJQListener<J,Q>
SimQueues.
This interface specifies callback methods for the most basic events that can change the state of a SimQueue.
More sophisticated queue types will require an extension to this interface in order to capture all relevant state-changing
events.
Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Modifier and Type | Method and Description |
|---|---|
void |
notifyNewStartArmed(double time,
Q queue,
boolean startArmed)
Notification of a change of a
SimQueue startArmed state. |
void |
notifyOutOfServerAccessCredits(double time,
Q queue)
Notification that a
SimQueue has run out of server-access credits. |
void |
notifyRegainedServerAccessCredits(double time,
Q queue)
Notification that a
SimQueue has regained server-access credits. |
void |
notifyStartQueueAccessVacation(double time,
Q queue)
Notification of the start of a queue-access vacation.
|
void |
notifyStopQueueAccessVacation(double time,
Q queue)
Notification of the end of a queue-access vacation.
|
notifyArrival, notifyAutoRevocation, notifyDeparture, notifyDrop, notifyRevocation, notifyStartnotifyResetEntity, notifyStateChanged, notifyUpdatevoid notifyStartQueueAccessVacation(double time,
Q queue)
time - The (current) time.queue - The queue.SimQueue.setQueueAccessVacation(double, boolean)void notifyStopQueueAccessVacation(double time,
Q queue)
time - The (current) time.queue - The queue.SimQueue.setQueueAccessVacation(double, boolean)void notifyOutOfServerAccessCredits(double time,
Q queue)
SimQueue has run out of server-access credits.time - The (current) time.queue - The queue.SimQueue.setServerAccessCredits(double, int)void notifyRegainedServerAccessCredits(double time,
Q queue)
SimQueue has regained server-access credits.time - The (current) time.queue - The queue.void notifyNewStartArmed(double time,
Q queue,
boolean startArmed)
SimQueue startArmed state.time - The (current) time.queue - The queue.startArmed - The new startArmed state.SimQueue.isStartArmed()Copyright © 2018. All rights reserved.