|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ArrivalEvent
An ArrivalEvent represents the arrival of a Packet sent across a link from one Router to another.
Constructor Summary | |
ArrivalEvent(Router sndr,
Router rcvr,
Packet pkt)
new ArrivalEvent(sndr, rcvr, pkt) is an event indicating the arrival of pkt at rcvr from sndr. |
Method Summary | |
void |
simulate()
ev.simulate() simulates the occurence of ev. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArrivalEvent(Router sndr, Router rcvr, Packet pkt)
Method Detail |
public void simulate()
simulate
in interface NetEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |