org.hfbk.vis.ServerManager Class Reference

List of all members.

Public Member Functions

void run ()

Package Functions

String getServer ()

Package Attributes

HashMap< String, Graphnodes = new HashMap<String,Graph>()
HashMap< String, Sourcefetchers = new HashMap<String, Source>()

Detailed Description

lookup a working vis server.

uses Prefs.current.baseURLs servers and checks them all.

the servers are selected by list position priority, if they answered within 2 seconds. Prefs.baseURL is set.

Author:
paul

Definition at line 21 of file ServerManager.java.


Member Function Documentation

String org.hfbk.vis.ServerManager.getServer (  )  [package]

updates server list and selects a working one

Returns:
base url of working server

Definition at line 36 of file ServerManager.java.

References org.hfbk.vis.ServerManager.fetchers, and org.hfbk.vis.source.Source.finished.

Referenced by org.hfbk.vis.ServerManager.run().

Here is the caller graph for this function:

void org.hfbk.vis.ServerManager.run (  ) 

Definition at line 73 of file ServerManager.java.

References org.hfbk.vis.ServerManager.getServer().

Here is the call graph for this function:


Member Data Documentation

HashMap<String,Graph> org.hfbk.vis.ServerManager.nodes = new HashMap<String,Graph>() [package]

Definition at line 23 of file ServerManager.java.

HashMap<String, Source> org.hfbk.vis.ServerManager.fetchers = new HashMap<String, Source>() [package]

hold trying sources

Definition at line 28 of file ServerManager.java.

Referenced by org.hfbk.vis.ServerManager.getServer().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:19 2009 for visclient by  doxygen 1.5.1