multimedia.generation
Class AggregationMGInfFlowsGeneration
java.lang.Object
|
+--multimedia.generation.GenericGeneration
|
+--multimedia.generation.AggregationMGInfFlowsGeneration
- All Implemented Interfaces:
- AudioCodecExample, multimedia.codec.AudioCodecRTPIP, multimedia.MovieExample, RandomGenerator, multimedia.codec.VideoCodecEurope, VideoCodecExample, VideoExample
- public class AggregationMGInfFlowsGeneration
- extends GenericGeneration
- implements AudioCodecExample, VideoExample, VideoCodecExample, RandomGenerator
Fields inherited from interface multimedia.VideoExample |
BeanHigh, BeanLow, BeanMedium, coeffDistbh, coeffDistbm, coeffDistjph, coeffDistjpm, coeffFuncbh, coeffFuncbl, coeffFuncbm, coeffFuncjph, coeffFuncjpl, coeffFuncjpm, dbh, dbm, djph, djpm, dPacketSize, dSlot, gdbh, gdbm, gdjph, gdjpm, gfbh, gfjpl, gftbh, gftbl, gftbm, gftjph, gftjpl, gftjpm, JurassicParkHigh, JurassicParkLow, JurassicParkMedium, mginfbh, mginfbl, mginfbm, mginfjph, mginfjpl, mginfjpm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
codecs
protected CodecAV[] codecs
model
protected MGInfAggregateModel model
vds
protected VideoDefinition[] vds
sourceNumber
protected int[] sourceNumber
totalSourceNumber
protected int totalSourceNumber
AggregationMGInfFlowsGeneration
public AggregationMGInfFlowsGeneration(VideoDefinition[] vds,
int[] sourceNumber,
java.lang.String fichierReq)
throws java.io.IOException
- Method AggregateMGInfFlowGeneration.
- Parameters:
vds
- fichierReq
- scenario file name
- Throws:
java.io.IOException
scenarioGeneration
public void scenarioGeneration()
throws java.io.IOException
- Description copied from class:
GenericGeneration
- To generate scenarii which can be played by the trafic generator
- Specified by:
scenarioGeneration
in class GenericGeneration
java.io.IOException
scenarioGeneration
public void scenarioGeneration(java.lang.String serverName,
int portNumber)
throws java.io.IOException
- Specified by:
scenarioGeneration
in class GenericGeneration
java.io.IOException
genererVideoScenario
public void genererVideoScenario(java.lang.String serverName,
int serverPort)
throws java.io.IOException,
java.lang.IllegalArgumentException
- genererScenario: generate a scenario file with information
- Parameters:
serverName
- gives the server nameserverPort
- gives the number port
Return a file formated as follow:
date : serverName
modelName IAmoy : tpsIP_codec numero de port : number packet size :size bytes
date: t + testTime s, IA : interpacketIime : 0.000000 s
java.io.IOException
java.lang.IllegalArgumentException
getTotalSourceNumber
public int getTotalSourceNumber()
sourceTypeChoice
public int sourceTypeChoice()
main
public static void main(java.lang.String[] args)
- Methode: Main pour tester la classe