Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 14th, 2008
Apprentice
 
Join Date: October 3rd, 2008
Posts: 6
zageyiff is flying high
Default 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
Reply With Quote
  #2 (permalink)  
Old October 14th, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

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.
__________________
Reply With Quote
  #3 (permalink)  
Old October 14th, 2008
Apprentice
 
Join Date: October 3rd, 2008
Posts: 6
zageyiff is flying high
Default

Thanks GregorK

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



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


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.