Package Sim

Interface Summary
LocationGenerator LocationGenerator provides a getNext method to retrieve the next location generated.
LocationManager LocationManager provides a getLocation method to simulate moving nodes.
PacketListener PacketListener is an interface for objects wanting to listen for Packet events.
ProtocolFrame ProtocolFrame is an interface for protocol frame data in a HardwareFrame.
SimulationEvent SimulationEvent represents an executable event in the Simulation.
 

Class Summary
AdhocSimulation  
EmptyProtocolFrame EmptyProtocolFrame is a protocol frame with no content and therefore 0 size.
FixedLocationManager FixedLocationManager implements a LocationManager that always returns the same location.
FloodTest LoopbackTest
HardwareFrame HardwareFrame represents a physical layer data transfer from one neighbor to the next.
Line A line object to construct a line based on two points.
Location Location represents a Node's location in the World.
LoopbackTest LoopbackTest
Node Node is the central object of the simulation, which tracks its location and keeps a RoutingAlgorithm.
NodeMonitor  
Packet Packet contains data that will be sent at the network layer.
PacketWatcher PacketWatcher watches over any Packets to which it is assigned to listen, and maintains statistics on those packets.
PacketWatcherTest PacketWatcherTest tests PacketWatcher functionality.
RandomLocationGenerator A location creator that is used to get random value locations that are within the range specified in the constructor.
RandomLocationManager RandomLocationManager implements a LocationManager that will allow a node to move from a position to another random position and pause.
SetLocationManager This location manager gives the position of a node which is moving from a given source to destination point.
SimpleLocationManager SimpleLocationManager allows for direct manipulation of location.
Simulation Simulation is the core of the discrete event simulation.
SimulationBuilder This class has a static method to create a simulation from a give input file.
SimulationParameters SimulationParameters holds global Simulation parameters.
SimulationRunner This class executes a simulation by executing the events.
SimulationTest SimulationTest
TrafficGenerator  
UniformLocationGenerator Generates a uniform square field of nodes within the center of the area.
World World implements a world of Nodes.
 

Exception Summary
SimulationException SimulationException is thrown when there is an error in running the simulation.