|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.webGUI.topgen.WebApp
public class WebApp
This class implements the web-app part of the topology generator. It calls BRITE, generates traffic and returns the result in a zip file.
Creation date: 2004
Constructor Summary | |
---|---|
WebApp()
Initializes a newly created WebApp object. |
Method Summary | |
---|---|
void |
createFile(java.lang.String fileName)
This method prints the(s) compressed XML output(s) of the generation on the zip file fileName . |
void |
generate(java.lang.String pathParam)
This method calls BRITE and generates traffic with the given parameters. |
WebAppParameters |
getParameters()
Returns the current parameters. |
byte |
getStep()
Gives the current step of the generation. |
void |
print(java.util.zip.ZipEntry e)
|
void |
reset()
Resets an existing WebApp object. |
void |
setParameters(WebAppParameters parameters)
Sets the parameters. |
void |
setStep(byte step)
Sets the current step of the generation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebApp()
WebApp
object.
Method Detail |
---|
public void createFile(java.lang.String fileName) throws java.io.IOException, java.util.zip.ZipException
fileName
.
java.io.IOException
java.util.zip.ZipException
public void print(java.util.zip.ZipEntry e)
public void generate(java.lang.String pathParam) throws javax.xml.bind.JAXBException, RoutingException, TrafficGenerationException, NoRouteToHostException, java.io.FileNotFoundException, java.lang.Exception
pathParam
- The path where to create the "temp" directory to temporarily
store the XML files.
javax.xml.bind.JAXBException
RoutingException
TrafficGenerationException
NoRouteToHostException
java.io.FileNotFoundException
java.lang.Exception
public WebAppParameters getParameters()
public byte getStep()
public void reset()
WebApp
object.
This function exists to permit several generations
within the same session.
public void setParameters(WebAppParameters parameters)
public void setStep(byte step)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |