Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   Capturing search words (https://www.gnutellaforums.com/general-discussion/1269-capturing-search-words.html)

konrad_h March 15th, 2001 03:52 PM

I looked through the classes and found the Search.java .

This Class seems to handle the incoming search-queries and the String mQueryStr seems to be holding an actual query.

I hope you can make something of this. If you succeed, keep this forum informed.

Good luck,
Konrad

konrad_h March 15th, 2001 03:59 PM

At a closer look the MsgManager.java Class is the one really handling the other host´s searches.

martinpg March 15th, 2001 09:38 PM

Hi, I was thinking about this just tonight: I inserted the following line into the handleQuery method of the ReadWorker class:

mManager.log (msg.getHeader ().getFromHost ().getHostAddr () + ": " + msg.getSearchString ());

This enters the IP address and search string of each search query into the log file.

karl March 15th, 2001 11:22 PM

Capturing search words
 
hello,
I am a java newbie, but I was wondering if someone could point me to the class which accepts incoming keywords and sends them to the display. I would like to modify this to also send keywords to a text file. Any help?

hael March 23rd, 2001 10:57 PM

Did you guys get the source? How do you look at the code? i'm a java newbie too but I'd love to poke around in furi and figure out stuff if I can. Give me some tips?!

- Hael

konrad_h March 24th, 2001 09:38 AM

I have this "Furi-Developers-Package" at hand.

But it is still necessary to have at least a "slight" insight into the process of java-programming. You should at least be aware of how a java-program is compiled and packed into an executable jar-file.

If you really want to get into java-coding I´d rather not start with the Furi-Source. Get through some tutorials first and get some programs running. When you know how the development process works Furi will be a very interesting source to look at.

hael March 26th, 2001 01:34 AM

Agreed. I got a link to source too and it is a bit hard to decipher. I'm into ASP and ColdFusion so Java looks a bit foriegn right now but I'm going to keep trying to learn in my spare time.

Would you mind sending me the source in a zip if its not too much trouble? Not sure how big it is but if you can (since you've already downloaded all the separate pieces) send it to hael@iname.com. If your not willing its no problem. I'll just go spend the time clicking =P

Regards,
Hael

konrad_h March 26th, 2001 01:49 AM

Hi hael,
check out the mail I sent you. Just give me about one more week and I will send you the new source.


All times are GMT -7. The time now is 10:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.