|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFairness.NodeTransferEvent
public class NodeTransferEvent
NodeTransferEvent performs a single time, one-off arrival of a NodePacket at a Node.
Constructor Summary | |
---|---|
NodeTransferEvent(NodePacket packet,
Node dest)
Constructs a new NodeTransferEvent to deliver the given packet to the given Node when the event is fired. |
Method Summary | |
---|---|
void |
perform(Simulation sim,
double time)
Performs the event that is occuring within a Simulation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeTransferEvent(NodePacket packet, Node dest)
Method Detail |
---|
public void perform(Simulation sim, double time)
Simulation
. If an event wishes
to re-execute later, it may schedule itself again using the provided Simulation reference.
perform
in interface SimulationEvent
sim
- non-null Simulationtime
- simulation time
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |