public interface MovementListener
| Modifier and Type | Method and Description |
|---|---|
void |
initialLocation(DTNHost host,
Coord location)
Method is called when a host receives its initial location from
movement model.
|
void |
newDestination(DTNHost host,
Coord destination,
double speed)
Method is called every time a host receives a new destination from its
movement model.
|
void newDestination(DTNHost host, Coord destination, double speed)
host - The host that got a new destinationdestination - Coordinates of the destinationspeed - Speed towards that destination