- All Implemented Interfaces:
- PacketSizeDistribution
public class ThoraxSizeDistribution
extends java.lang.Object
implements PacketSizeDistribution
This class is provided for convenience and clarity when working with data
generated by a ThoraxPacketGenerator. It defines a size distribution in which
all sizes are a regular 8 bytes (the size of a single double, since the data
produced by the thorax packet generator is doubles) --- a
ThoraxSizeDistribution is a RegularSizeDistribution with a set size of 8.
Semantically, using this size distribution with the thorax packet generator
will not be any different than any other distribution since the thorax packet
generator ignores the sizes provided, but it's more clear what is happening
with the addition of this class.
- Author:
- Kira Lindburg