multimedia.generation
Class OnOffGeneration

java.lang.Object
  |
  +--multimedia.generation.GenericGeneration
        |
        +--multimedia.generation.OnOffGeneration
All Implemented Interfaces:
AudioCodecExample, multimedia.codec.AudioCodecRTPIP, MyUnitDefinitions, RandomGenerator

public class OnOffGeneration
extends GenericGeneration
implements RandomGenerator, AudioCodecExample


Field Summary
 
Fields inherited from class multimedia.generation.GenericGeneration
fileName
 
Fields inherited from interface statistic.RandomGenerator
random
 
Fields inherited from interface multimedia.codec.AudioCodecExample
G711, G723_1, G726, G728, G729
 
Fields inherited from interface utils.definitions.MyUnitDefinitions
BYTES, GIGABYTES, KILOBYTES, MEGABYTES
 
Constructor Summary
OnOffGeneration()
           
OnOffGeneration(OnOffModel model, int tpsSimul, int srcNumber, java.lang.String fichierReq, boolean graphic)
           
 
Method Summary
static void main(java.lang.String[] args)
          Methode: Main pour tester la classe
 void setOnOffModel(OnOffModel oom)
           
 
Methods inherited from class multimedia.generation.GenericGeneration
changeScenarioFileExtension, getDuration, getGeneratedPacketNumber, getGraphicMode, getResultFileName, getResultFilePath, getResultFileSize, getSourceNumber, getUnit, getUnit, scenarioGeneration, setDuration, setGraphicMode, setResultFileName, setSourceNumber, setUnit, statisticsGeneration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnOffGeneration

public OnOffGeneration()

OnOffGeneration

public OnOffGeneration(OnOffModel model,
                       int tpsSimul,
                       int srcNumber,
                       java.lang.String fichierReq,
                       boolean graphic)
                throws java.io.IOException
Parameters:
model - it must be an On-Off Model
tpsSimul - it is the test duration in minutes
fichierReq - it's a file where results will be enregistrated
graphic - if you use graphic environment or not
Throws:
java.io.IOException
Method Detail

setOnOffModel

public void setOnOffModel(OnOffModel oom)

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Methode: Main pour tester la classe

java.io.IOException