public class PacketGeneratorFactory
extends java.lang.Object
| Constructor and Description |
|---|
PacketGeneratorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PacketGenerator |
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).
|
public static PacketGenerator createPacketGenerator(ComponentSpecification specification)
specification - a ComponentSpecification containing the data needed
to create the desired packet generatorjava.lang.IllegalArgumentException - if the types or parameters are invalid