public class DefaultSimJQListener<J extends SimJob,Q extends SimQueue> extends DefaultSimEntityListener implements SimJQListener<J,Q>
SimJQListener 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 |
|---|
DefaultSimJQListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyArrival(double time,
J job,
Q queue)
Does nothing.
|
void |
notifyAutoRevocation(double time,
J job,
Q queue)
Does nothing.
|
void |
notifyDeparture(double time,
J job,
Q queue)
Does nothing.
|
void |
notifyDrop(double time,
J job,
Q queue)
Does nothing.
|
void |
notifyRevocation(double time,
J job,
Q queue)
Does nothing.
|
void |
notifyStart(double time,
J job,
Q queue)
Does nothing.
|
notifyResetEntity, notifyStateChanged, notifyUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyResetEntity, notifyStateChanged, notifyUpdatepublic void notifyArrival(double time,
J job,
Q queue)
notifyArrival in interface SimJQListener<J extends SimJob,Q extends SimQueue>time - The (current) time.job - The job.queue - The queue.SimQueue.arrive(double, J)public void notifyStart(double time,
J job,
Q queue)
notifyStart in interface SimJQListener<J extends SimJob,Q extends SimQueue>time - The (current) time.job - The job.queue - The queue.public void notifyDrop(double time,
J job,
Q queue)
notifyDrop in interface SimJQListener<J extends SimJob,Q extends SimQueue>time - The (current) time.job - The job.queue - The queue.public void notifyRevocation(double time,
J job,
Q queue)
notifyRevocation in interface SimJQListener<J extends SimJob,Q extends SimQueue>time - The (current) time.job - The job.queue - The queue.SimQueue.revoke(double, J, boolean)public void notifyAutoRevocation(double time,
J job,
Q queue)
notifyAutoRevocation in interface SimJQListener<J extends SimJob,Q extends SimQueue>time - The (current) time.job - The job.queue - The queue.SimQueue.getAutoRevocationPolicy()public void notifyDeparture(double time,
J job,
Q queue)
notifyDeparture in interface SimJQListener<J extends SimJob,Q extends SimQueue>time - The (current) time.job - The job.queue - The queue.Copyright © 2018. All rights reserved.