public class DefaultSimQueueListener<J extends SimJob,Q extends SimQueue> extends DefaultSimJQListener<J,Q> implements SimQueueListener<J,Q>
SimQueueListener having empty implementations for all required methods to meet the interface.
Convenience class; override only the methods you need.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Constructor and Description |
|---|
DefaultSimQueueListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyNewStartArmed(double time,
Q queue,
boolean startArmed)
Does nothing.
|
void |
notifyOutOfServerAccessCredits(double time,
Q queue)
Does nothing.
|
void |
notifyRegainedServerAccessCredits(double time,
Q queue)
Does nothing.
|
void |
notifyStartQueueAccessVacation(double time,
Q queue)
Does nothing.
|
void |
notifyStopQueueAccessVacation(double time,
Q queue)
Does nothing.
|
notifyArrival, notifyAutoRevocation, notifyDeparture, notifyDrop, notifyRevocation, notifyStartnotifyResetEntity, notifyStateChanged, notifyUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyArrival, notifyAutoRevocation, notifyDeparture, notifyDrop, notifyRevocation, notifyStartnotifyResetEntity, notifyStateChanged, notifyUpdatepublic void notifyStartQueueAccessVacation(double time,
Q queue)
notifyStartQueueAccessVacation in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.SimQueue.setQueueAccessVacation(double, boolean)public void notifyStopQueueAccessVacation(double time,
Q queue)
notifyStopQueueAccessVacation in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.SimQueue.setQueueAccessVacation(double, boolean)public void notifyOutOfServerAccessCredits(double time,
Q queue)
notifyOutOfServerAccessCredits in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.SimQueue.setServerAccessCredits(double, int)public void notifyRegainedServerAccessCredits(double time,
Q queue)
notifyRegainedServerAccessCredits in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.public void notifyNewStartArmed(double time,
Q queue,
boolean startArmed)
notifyNewStartArmed in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.startArmed - The new startArmed state.SimQueue.isStartArmed()Copyright © 2018. All rights reserved.