Re: [core-dev] What is the class that gives the search results?
[email protected] (Gregorio Roper) Sat, 21 Aug 2004 12:23:48 +0200
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Yes Gregorio, but how i catch all the incoming results? > > I'll explain what i want to do: > > 1. I connect. > 2. I want to make a search. I use the method in > RouterService#query (is that method well used for my > purpose?). > 3. When i have done the method before, i need to obtain the > results to the query before, but here is my problem, because i > don't find them. You need to modify the SearchResultHandler to listen for the results trickling in as replies to your query. You have the GUID from sending the query and catch the results matching that GUID in the SearchResultHandler. There is no getAllResults(GUID) method. > I have been trying with the method FileManager#query, that > returns an array of responses, but it seems that didn't work, What would you do with the FileManager? The FileManager.query() method returns the results that you return to incoming queries. mfg gregorio _______________________________________________ core-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/core-dev