Uses of Class
medisyn.X2XProxy

Packages that use X2XProxy
main.planetSh   
medisyn Contains classes needed to form scenario configurations (X2XProxy, ScenarioConfig etc) but also only medisyn specific classes. 
simulator.views   
tools   
videoClientCaller   
views The package views contains many windows needed for the GUI. 
 

Uses of X2XProxy in main.planetSh
 

Methods in main.planetSh with parameters of type X2XProxy
static Node PlanetshMap.findNodeOfProxy(java.util.ArrayList<Node> nodes, X2XProxy proxy)
          looks in the node-array for a node with same hostname as proxy
 

Uses of X2XProxy in medisyn
 

Fields in medisyn with type parameters of type X2XProxy
private  java.util.Vector<X2XProxy> ScenarioNodeMgr.nodes
           
private  java.util.Vector<X2XProxy> ProxyGroup.proxies
           
private  java.util.Vector<X2XProxy> ProxyGenerator.proxies
           
 

Methods in medisyn that return X2XProxy
 X2XProxy X2XProxy.clone()
          clones the object
 X2XProxy X2XProxy.clone2()
          clones the object without the videoFiles2
 X2XProxy ScenarioNodeMgr.findNode(int[] ip)
          Finds the proxy with the given ip in all nodes
 X2XProxy ScenarioNodeMgr.findNode(java.lang.String hostName)
          Tries to find the X2XProxy which has the given hostname.
 X2XProxy ScenarioConfig.findNode(java.lang.String hostName)
          Tries to find the X2XProxy which has the given hostname.
static X2XProxy ScenarioNodeMgr.findNode(java.util.Vector<X2XProxy> proxies, int[] ip)
          Finds the proxy with the given ip
 X2XProxy ProxyGroup.getLeader()
          gets the leader of the group
 

Methods in medisyn that return types with arguments of type X2XProxy
 java.util.Vector<X2XProxy> ProxyGenerator.generateProxies(boolean equalNrOfProxiesPerGroup)
          generate the proxies according to the requests and videoFiles, calculate the Proxy-Groups prequisites: this.videoFiles and this.requests and this.proxies must be set before
 java.util.Vector<X2XProxy> ScenarioNodeMgr.getNodes()
           
 java.util.Vector<X2XProxy> ScenarioConfig.getNodes()
           
 java.util.Vector<X2XProxy> ProxyGroup.getProxies()
           
 java.util.Vector<X2XProxy> ProxyGenerator.getProxies()
           
 

Methods in medisyn with parameters of type X2XProxy
 void ScenarioNodeMgr.addNode(X2XProxy node)
          adds a node into node-vector
 void ProxyGroup.addProxyToGroup(X2XProxy toAdd)
          add a proxy to this group
private  void ProxyGenerator.assignCategoriesToProxyfiles(X2XProxy proxy)
          Assigns semantic Filecategories to all files of 1 proxy prequisites: this.videoFiles and this.requests and this.proxies must be set before
 int X2XProxy.compareTo(X2XProxy other)
          Compares this instance of X2XProxy with the specified instance.
 void ScenarioNodeMgr.deleteNode(X2XProxy node)
          deletes a node frome node-vector
 boolean X2XProxy.equals(X2XProxy other)
          is other X2XProxy equal to this one?
 void ProxyGroup.removeProxyFromGroup(X2XProxy toRemove)
          remove a proxy from this group
 boolean ProxyGroup.setLeader(X2XProxy newLeader)
          Sets the given prxy as the new leader of the group
 

Method parameters in medisyn with type arguments of type X2XProxy
private  boolean ScenarioConfig.checkConsistency(java.util.Vector<X2XProxy> proxies, java.util.Vector<ProxyGroup> proxyGroups)
          Run a consistency check over the proxies and the proxyGroups.
static X2XProxy ScenarioNodeMgr.findNode(java.util.Vector<X2XProxy> proxies, int[] ip)
          Finds the proxy with the given ip
 boolean ScenarioConfig.getClientVersionOfSelectedNodes(PlanetLabMgr planetLabApi, java.util.Vector<X2XProxy> badNodes)
          get the version of the scenario-nodes, remember the badNodes
 boolean ScenarioConfig.getClientVersionOfSelectedNodesEx(PlanetLabMgr planetLabApi, java.util.Vector<X2XProxy> badNodes)
          get the version of the scenario-nodes and add the bad nodes to the blacklist
 void ScenarioNodeMgr.setNodes(java.util.Vector<X2XProxy> nodes)
           
 void ProxyGroup.setProxies(java.util.Vector<X2XProxy> proxies)
           
 void ProxyGenerator.setProxies(java.util.Vector<X2XProxy> proxies)
           
 

Uses of X2XProxy in simulator.views
 

Methods in simulator.views that return types with arguments of type X2XProxy
private  java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> Simulator.loadBandwidthResults(java.lang.String resultFilePath, java.util.Vector<X2XProxy> currentProxies)
          Load the bandwidth measurement results from the file and put them into the Hashtable.
 

Methods in simulator.views with parameters of type X2XProxy
private  boolean Simulator.assignVideofilesToProxy(java.util.Hashtable<java.lang.Integer,VideoFile> videoFiles, X2XProxy proxy, int nrOfFilesForNode)
          choose some video files that will belong to this node
private  double Simulator.calculateAvgBwToNode(ProxyGroup group, java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode, X2XProxy refProxy, boolean printBestWorstStats)
          Calculates the average bandwidth of every node of the ProxyGroup to the given reference node.
 

Method parameters in simulator.views with type arguments of type X2XProxy
private  double Simulator.calculateAvgBwToNode(ProxyGroup group, java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode, X2XProxy refProxy, boolean printBestWorstStats)
          Calculates the average bandwidth of every node of the ProxyGroup to the given reference node.
private  double Simulator.calculateAvgGroupBw(ProxyGroup group, java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode, boolean printBestWorstStats)
          Calculates the average bandwidth of the ProxyGroup.
private  java.util.Hashtable<ProxyGroup,java.lang.Double> Simulator.evaluateNetClAvgGroupBandwidths(java.util.Vector<ProxyGroup> proxyGroups, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Evaluate average group bandwidths and print them to stdout 1.
private  java.util.Vector<ProxyGroup> Simulator.formBandwidthSubGroupsFromGroup(ProxyGroup oldGroup, java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
          forms subgroups based on network bandwidth of ONE semantically formed proxy group
private  java.util.Vector<ProxyGroup> Simulator.formBandwidthSubGroupsFromGroupV2(ProxyGroup oldGroup, java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
          forms subgroups based on network bandwidth of ONE semantically formed proxy group Changes to v1: (- single node groups are formed if the bandwidth-limit is reached) - Groups with a greater size are favoured - Additionally: if the nr of subgroups formed by Algorithm v2 is NOT smaller than the nr of subgroups formed by Algorithm v1, then the result of Algorithm v1 is taken because it has better avg-group-bandwidths.
private  java.util.Vector<ProxyGroup> Simulator.formBandwidthSubGroupsFromGroupV2Internal(ProxyGroup oldGroup, java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
          forms subgroups based on network bandwidth of ONE semantically formed proxy group Changes to v1: (- single node groups are formed if the bandwidth-limit is reached) - Groups with a greater size are favoured
private  java.util.Vector<ProxyGroup> Simulator.getProxyGroupsFromResults(java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> resultsTable)
          Get the proxy groups of the nodes using the results.
private  java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> Simulator.loadBandwidthResults(java.lang.String resultFilePath, java.util.Vector<X2XProxy> currentProxies)
          Load the bandwidth measurement results from the file and put them into the Hashtable.
private  boolean Simulator.measureBwsPerGroup(ProxyGroup group, boolean onlyToLeader, boolean exceptLeader, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Measures the bandwidths betweeen the proxies of a group.
private  void Simulator.printProxiesAndGroups(java.util.Vector<ProxyGroup> proxyGroups, java.util.Vector<X2XProxy> proxies)
          Prints the proxy groups and the proxies to stdout.
private  void Simulator.printResultHashtable(java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> resultsTable)
          Print the contents of the resultsTable to stdout.
private  boolean Simulator.saveBandwidthResults(java.lang.String resultFilePath, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Save the bandwidth measurements to the resultFile, so they can be loaded for an offline run or for evaluation.
 boolean BandwidthResultsDlg.showMe(javax.swing.JFrame parent, ScenarioConfig scenarioConfig, java.lang.String fileName, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> resultsTable)
          Shows the bandwidth results dialog
private  boolean Simulator.simulateNetworkCloseness1Offline(java.util.Vector<X2XProxy> proxies, java.util.Vector<ProxyGroup> proxyGroups, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Used for the formation of Network closeness v1 groups.
private  boolean Simulator.simulateNetworkCloseness1Offline(java.util.Vector<X2XProxy> proxies, java.util.Vector<ProxyGroup> proxyGroups, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Used for the formation of Network closeness v1 groups.
private  boolean Simulator.simulateNetworkCloseness1Online(java.util.Vector<X2XProxy> proxies, java.util.Vector<ProxyGroup> proxyGroups, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Used for the formation of Network closeness v1 groups.
private  boolean Simulator.simulateNetworkCloseness1Online(java.util.Vector<X2XProxy> proxies, java.util.Vector<ProxyGroup> proxyGroups, java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
          Used for the formation of Network closeness v1 groups.
 

Uses of X2XProxy in tools
 

Methods in tools that return types with arguments of type X2XProxy
static java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> Converter.vectorStructBwInfoToBeanVector(java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> loadedBwsPerNode)
          Converts the vector with structBandwidthInfo elements to a vector with structBandwidthInfoBean elements.
 

Method parameters in tools with type arguments of type X2XProxy
static structIP[] Converter.proxiesToStructIPs(java.util.Vector<X2XProxy> proxies)
          gets an structIP-array consisting of the IPs of the proxies
static java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> Converter.vectorStructBwInfoToBeanVector(java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> loadedBwsPerNode)
          Converts the vector with structBandwidthInfo elements to a vector with structBandwidthInfoBean elements.
 

Uses of X2XProxy in videoClientCaller
 

Methods in videoClientCaller with parameters of type X2XProxy
 structBandwidthInfo[] PlabClientCallerMain.calculateBandwidths(X2XProxy sourceProxy, java.util.Vector<X2XProxy> nodes)
          Calculate the bandwidth from sourceProxy to nodes.
call is done via CORBA
 

Method parameters in videoClientCaller with type arguments of type X2XProxy
 structBandwidthInfo[] PlabClientCallerMain.calculateBandwidths(X2XProxy sourceProxy, java.util.Vector<X2XProxy> nodes)
          Calculate the bandwidth from sourceProxy to nodes.
call is done via CORBA
 

Uses of X2XProxy in views
 

Fields in views with type parameters of type X2XProxy
private  java.util.Vector<X2XProxy> ImageViewer.badNodes
           
private  java.util.Vector<X2XProxy> ImageViewer.MyListCellRenderer.badNodes
           
 

Methods in views that return X2XProxy
private  X2XProxy ImageViewer.MyListCellRenderer.findNode(java.lang.String value)
          Tries to find the X2XProxy which matches the given list-entry.
 

Constructor parameters in views with type arguments of type X2XProxy
ImageViewer.MyListCellRenderer(java.util.Vector<X2XProxy> badNodes, ScenarioConfig scenarioConfig)
          constructs a Cell renderer for a JList control