Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Development Open Discussion (https://www.gnutellaforums.com/development-open-discussion/)
-   -   gnutella simple java API (https://www.gnutellaforums.com/development-open-discussion/88219-gnutella-simple-java-api.html)

zageyiff October 14th, 2008 11:33 AM

gnutella simple java API
 
Hi

I have been looking for a simple java API to work with gnutella network.
I found Jtella but it's pretty outdated.
Then I tried limewire but it's kinda complex
Reading throughout this gnutella forum found some posts that sugest to use Phex, but I haven't found any documentation o how to use Phex as a simple java API

Any idea on what can be done here, I just need basically:
-search in the gnutella network
-download file from given search results
-generate a file hashcode (to search through the hashcode, like magnet link)

I don't mind using limewire or phex, or anything else, as long as it keeps simple to use.

Any help will be really appreciated
Thanks

GregorK October 14th, 2008 12:34 PM

Well the Phex API is probably not as simple as you would wish it to be, but we are currently in the process to make the API more easier to use.
Also there is not really much documentation available for Phex. We have a very small team and all we can offer is JavaDoc API documentation.
http://www.phex.org/javadoc/phex/
Basically everything (or almost everything until its refactored) is based around the class phex.servent.Servent

Check out the source of phex.Main to see how to initialize the Servent and then you can use the Servent API to navigate through the modules like network, search, download and shared files.

If you are looking for anything specific drop us a note and we will do our best to assists you or improve things in the API.

zageyiff October 14th, 2008 12:53 PM

Thanks GregorK

Will check the link and let you know if get into troubles running the Phex API.


All times are GMT -7. The time now is 09:39 PM.

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.