Exemplo 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 QueryProcessor getInstance()
 {
     if (instance == null)
         instance = new QueryProcessor(Constants.STOPWORDS);
     return instance;
 }
 public RelevanceRanking(QueryProcessor __queryProcessor)
 {
     queryProcessor = __queryProcessor;
 }