| Package | Description |
|---|---|
| ds.funnel.traffic.factory |
| Modifier and Type | Class and Description |
|---|---|
class |
ComplexComponentSpecification
A ComplexComponentSpecification is a ComponentSpecification which specifies
how to construct a 'complex' component for a TrafficGenerator.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentSpecification |
TrafficGeneratorBuilder.getComponentSpecification(ComponentType type)
Obtains the curretnly configured component specification for the given
type
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ComponentSpecification> |
ComplexComponentSpecification.getBaseComponents() |
java.util.List<ComponentSpecification> |
ConfigurationParser.getSpecifications() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComplexComponentSpecification.addBaseComponent(ComponentSpecification specificationToAdd)
Adds the provided component specification to the list of base components
for this complex component specification, at the end of the list.
|
void |
TrafficGeneratorBuilder.configureComponent(ComponentSpecification specification)
Configures the builder to use a component following the provided
specification when the createTrafficGenerator() method is called.
|
static PacketGenerator |
PacketGeneratorFactory.createPacketGenerator(ComponentSpecification specification)
Creates a new PacketGenerator following the provided
ComponentSpecification, if the specification is valid (has the correct
main and specific type identifiers for a recognized packet generator
type, and has valid parameters for the specified packet generator).
|
static PacketSizeDistribution |
SizeDistributionFactory.createSizeDistribution(ComponentSpecification specification)
Creates a new PacketSizeDistribution following the provided
ComponentSpecification, if the specification is valid (has the correct
main and specific type identifiers for a recognized size distribution
type, and has valid parameters for the specified size distribution).
|
static PacketTimeDistribution |
TimeDistributionFactory.createTimeDistribution(ComponentSpecification specification) |
| Modifier and Type | Method and Description |
|---|---|
void |
ComplexComponentSpecification.setBaseComponents(java.util.List<ComponentSpecification> newBaseComponents)
Sets the list of base components for this complex component specification
to the provided list, overwriting any components which were previously
stored.
|
| Constructor and Description |
|---|
ComplexComponentSpecification(ComponentType mainType,
int specificType,
java.util.List<ComponentSpecification> baseComponents,
java.lang.String... parameters)
Creates a new complex component specification with the provided types,
parameter list, and base component list.
|