|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSim.Routing.GPSR.BroadcastEvent
public class BroadcastEvent
This is the broadcast event class that is used for GPSR nodes that will tell the other neighboring nodes where this node is located.
| Constructor Summary | |
|---|---|
BroadcastEvent(Node myNode)
Construct a new broadcast event for a given node. |
|
| Method Summary | |
|---|---|
void |
perform(Simulation sim,
double time)
Method for the event controller to execute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BroadcastEvent(Node myNode)
myNode - node to broadcast| Method Detail |
|---|
public void perform(Simulation sim,
double time)
perform in interface SimulationEventsim - simulation that is runningcurrent - time during the simulation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||