public class RouterOptions
extends java.lang.Object
Constructor and Description |
---|
RouterOptions() |
RouterOptions(Router router)
Constructor for router Options
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAPControllerName()
Accessor function for name of AP controller
|
java.lang.String |
getAPFilter()
Accessor function for AP filter type
|
double |
getAPLifeBias()
Accessor function for AP life bias -- weight given to life
estimation in working out which AP to choose
|
java.lang.String |
getAPOutputPath()
Accessor function for output path for AP
|
java.lang.String[] |
getAPParms()
Accessor function for AP parameters
|
int |
getControllerConsiderTime()
Accessor function for global controller consider time
|
java.lang.String |
getErrorFile()
Accessor function for output file name
|
boolean |
getErrorFileAddName()
Accessor function for output file name addition flag
|
int |
getMaxAPs()
Accessor function for max no of APs
|
int |
getMaxAPWeight()
Accessor function for maximum weight to AP
|
int |
getMaxCheckTime()
Return the longest time between router fabric wake ups
|
int |
getMaxDist()
Accessor function for maximum dist in network
|
int |
getMaxNetIFUpdateTime()
Return the longest time between network interface routing table
updates
|
double |
getMaxPropAP()
Accessor function for maximum proportion of access points
|
int |
getMinAPs()
Accessor function for min no of APs
|
int |
getMinNetIFUpdateTime()
Return the shortest time between network interface routing
table updates
|
double |
getMinPropAP()
Accessor function for minimum proportion of access points
|
java.lang.String |
getMonType()
Accessor function for monitor type
|
java.lang.String |
getOutputFile()
Accessor function for output file name
|
boolean |
getOutputFileAddName()
Accessor function for output file name addition flag
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
getProbeInfoMap()
Get the Probe Info Map
|
int |
getRouterConsiderTime()
Accessor function for router Consider time
|
int |
getTrafficStatTime()
Return the time between sending traffic statistics
|
boolean |
gracefulExit()
Does a router send an exit message before leaving
|
boolean |
latticeMonitoring()
Should we turn on Lattice Monitoring
|
void |
parseXML(org.w3c.dom.Document doc)
Parse the XML which represents router options
|
void |
setOptionsFromFile(java.lang.String fName) |
void |
setOptionsFromString(java.lang.String XMLString) |
public RouterOptions(Router router)
public RouterOptions()
public void setOptionsFromFile(java.lang.String fName) throws java.io.FileNotFoundException, org.xml.sax.SAXParseException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
java.io.FileNotFoundException
org.xml.sax.SAXParseException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
public void setOptionsFromString(java.lang.String XMLString) throws java.io.FileNotFoundException, org.xml.sax.SAXParseException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
java.io.FileNotFoundException
org.xml.sax.SAXParseException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
public void parseXML(org.w3c.dom.Document doc) throws java.io.FileNotFoundException, org.xml.sax.SAXParseException, org.xml.sax.SAXException
java.io.FileNotFoundException
org.xml.sax.SAXParseException
org.xml.sax.SAXException
public int getTrafficStatTime()
public int getMaxCheckTime()
public int getMinNetIFUpdateTime()
public int getMaxNetIFUpdateTime()
public java.lang.String getAPControllerName()
public java.lang.String getAPOutputPath()
public int getMaxAPs()
public int getMinAPs()
public int getRouterConsiderTime()
public int getControllerConsiderTime()
public int getMaxAPWeight()
public java.lang.String getMonType()
public java.lang.String getAPFilter()
public int getMaxDist()
public java.lang.String[] getAPParms()
public double getMinPropAP()
public double getMaxPropAP()
public double getAPLifeBias()
public java.lang.String getOutputFile()
public boolean getOutputFileAddName()
public java.lang.String getErrorFile()
public boolean getErrorFileAddName()
public boolean latticeMonitoring()
public boolean gracefulExit()
public java.util.HashMap<java.lang.String,java.lang.Integer> getProbeInfoMap()
User Space Routing 0.10.3