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

[email protected] (Gregorio Roper) Fri, 20 Aug 2004 21:24:09 +0200
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
[email protected] wrote:

> 
> 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 don't think there is any such method but it shouldn't be a problem to match 
the incoming results against a set of GUIDs. That's what the LimeWire GUI 
basically does.

> 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.

You will have to parse all incoming results and throw away those that do not 
match the GUID you are looking for.

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