Ejemplo n.º 1
0
 public Client(ClientUserInterface.callbackTable_ _clientUserInterfaceCallbackTable)
 {
     clientUserInterfaceCallbackTable = _clientUserInterfaceCallbackTable;
     numLoginRetries = 0;
     serverProxy  = new ServerProxy();
     ringManager = new RingManager();
     queryProcessor = QueryProcessor.getInstance();
     relevanceRanker = RelevanceRanking.getInstance();
     downloadManager = new DownloadManager();
     queryCache = new Hashtable();
 }
 public static RelevanceRanking getInstance()
 {
     if (instance == null)
         instance = new RelevanceRanking(QueryProcessor.getInstance());
     return instance;
 }