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.


Definition at line 21 of file

Member Function Documentation

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

updates server list and selects a working one

base url of working server

Definition at line 36 of file

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

Referenced by

Here is the caller graph for this function:

void (  ) 

Definition at line 73 of file

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

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

hold trying sources

Definition at line 28 of file

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