|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.optical.util.NetUtil
This class contains tools for the GLASS network.
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Constructor Summary | |
private |
NetUtil()
Private constructor to avoid instantiation |
| Method Summary | |
static EventManager |
getEventManager(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getHosts(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static OpticalLink |
getLink(int id,
Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getLinks(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getLSRs(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static Host |
getNode(int id,
Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static Host |
getNodeOfIP(int ip,
Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getNodes(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getNonOpticalLinks(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getNonOpticalNodes(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getOpticalLinks(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getOXCEdgeRouters(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getOXCs(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static java.util.Vector |
getRouters(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static long |
getSimulationTime(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static int[][] |
getTopologyMatrix(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static void |
ResumeSimulationProgress(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static void |
setSimulationSpeed(Glass net,
int slpTime)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
static void |
stopSimulationProgess(Glass net)
Deprecated. use class gov.nist.antd.ssf.util.NetUtil |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
private NetUtil()
| Method Detail |
public static java.util.Vector getOXCs(Glass net)
net - The network that contains the topology
public static java.util.Vector getOXCEdgeRouters(Glass net)
net - The network that contains the topology
public static java.util.Vector getLSRs(Glass net)
net - The network that contains the topology.
public static java.util.Vector getRouters(Glass net)
net - The network that contains the topology.
public static java.util.Vector getHosts(Glass net)
net - The network that contains the topology.
public static java.util.Vector getNonOpticalNodes(Glass net)
net - The network that contains the topology
public static java.util.Vector getNodes(Glass net)
net - The network that contains the topology
public static Host getNode(int id,
Glass net)
id - The id of the requested node.net - The network that contains the topology
public static java.util.Vector getOpticalLinks(Glass net)
net - The network that contains the topology
public static java.util.Vector getNonOpticalLinks(Glass net)
net - The network that contains the topology
public static java.util.Vector getLinks(Glass net)
net - The network that contains the topology
public static OpticalLink getLink(int id,
Glass net)
id - The id of the link requested.net - The network that contains the topology
public static EventManager getEventManager(Glass net)
net - the network topology.
public static int[][] getTopologyMatrix(Glass net)
net - the OpNet the optical topology resides in.
public static Host getNodeOfIP(int ip,
Glass net)
net - the OpNet the optical topology resides in.ip - The IP address of the inderface.
public static void stopSimulationProgess(Glass net)
net - the network topology.public static void ResumeSimulationProgress(Glass net)
net - the network topology.
public static void setSimulationSpeed(Glass net,
int slpTime)
net - the network topology.slpTime - The time for the timer to sleep.public static long getSimulationTime(Glass net)
net - the network topology.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||