Changes in SWANS
General
- Replaced java.lang.Math with java.lang.StrictMath
jist.swans.field.Field
- Added method to get the current location of a node
- Added possibility to subscribe node movement notifications
jist.swans.field.Mobility.RandomWaypoint
jist.swans.field.Spatial.TiledWrapAround
- Modified visitTransmit(...) to provide a location clone to prevent side effects of modifiying the location object directly
jist.swans.mac.Mac802_11, MacDumb, MacLoop
- Implemented notification about dropped packets
- Added a parameter in the data flow to indicate whether a packet was received via broadcast
jist.swans.misc.Location
- Implemented new method size()
- Made Location objects immutable & comparable
jist.swans.net.NetAddress
- Added new method getSize()
jist.swans.net.NetInterface
- Added a parameter to method receive(..) that indicated whether a message was received via broadcast
- Added new method "dropNotify(..)"
jist.swans.net.NetIP
- Modified protocol handling for more flexibility
- Implemented modifications of NetInterface
jist.swans.net.NetMessage
- Modifications to allow for IP option fields
jist.swans.radio.RadioNoiseAdditive
- Added condition to endReceive(..) to catch the case that signalBuffer variable is null
jist.swans.route.RouteAodv.
- Bugfix: Removing a "self entry" in the routing table led to errors
- peek(): added parameter interfaceId
jist.swans.route.RouteDsr
- Integrated statistics counting
- Modification to use global random instead of local one
jist.swans.route.RouteInterface
- Added new parameter "interfaceId" to peek(..) method
- Added new method dropNotify(..)
jist.swans.route.RouteZrp and RouteZrpIerp
- Implemented interface modifications and using of IPOptions
jist.swans.Constants