Re: [core-dev] What is the class that gives the search results?
[email protected] (Gregorio Roper) Fri, 20 Aug 2004 02:40:49 +0200
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
The results pass through a series of classes. They arrive as instances of QueryReply in the MessageRouter, than they are converted to instances of Response and RemoteFileDesc in the SearchResultHandler. There are half a dozen places where you can obtain the results and three different classes that may hold the results. Which of these to modify depends on what you want to do with it. If you want to add them shortly before they reach the GUI I suggest you read the com.limegroup.gnutella.search.SearchResultHandler code carefully as well as the the code in com.limegroup.gnutella.Response and com.limegroup.gnutella.RemoteFileDesc. mfg gregorio [email protected] wrote: > Hello, i'm new here. I'm Miguel Angel Blazquez from Spain, and > i'm running an academic project for my engineer career. First, > sorry for my bad english. > > The thing is that i need to know how to catch the results of a > search done with "RouterService.query(guid, query)". Later i > want to manipulate this results, but i need them first, and i > don't know obtain them. > > I expect help, please, i need it. > > > > > _______________________________________________ > core-dev mailing list > [email protected] > http://www.limewire.org/mailman/listinfo/core-dev > _______________________________________________ core-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/core-dev