Re: Re: [core-dev] What is the class that gives the search results?

"[email protected] " <[email protected]> Fri, 20 Aug 2004 11:21:56 +0100
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>

Hello Gregorio. I have read these classes sometimes, but i don't 
see the method to reach to results from a query request.

I need the method that having the GUID of the QueryRequest 
or the QueryRequest itself give a result or a set of results.

I need the results for displaying in the screen, but only a pair of 
attributes from the result. I think that i need instances of 
Response or RemoteFileDesc, but i don't know how to obtain 
them with the GUID of the QueryRequest or with the 
QueryRequest itself, even with the query string.



>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
><a href="javascript:sendMsg
('[email protected]');">[email protected]</a> 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
>> <a href="javascript:sendMsg('core-
[email protected]');">[email protected]</a>
>> <a href="/app/message?l=es&o=8&url=http%3A%2F%
2Fwww%2Elimewire%2Eorg%2Fmailman%2Flistinfo%2Fcore%
2Ddev" 
target="_blank">http://www.limewire.org/mailman/listinfo/core-
dev</a>
>> 
 


_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev