Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5 (permalink)  
Old November 20th, 2003
Apprentice
 
Join Date: November 20th, 2003
Location: Portugal
Posts: 6
reise is flying high
Default

I'm sorry if I didn't explained what I want. I wanted something like this (taken from JTella examples):
...
try
{
// Start a network connection and listen for succesful connection
GNUTellaConnection c = new GNUTellaConnection(host, port);
c.getSearchMonitorSession(new TestReceiver());
c.start();

}
catch (Exception e)
{
e.printStackTrace();
}

}

/**
* Test class for monitoring query messages, prints out queries to the console
*
*/
static class TestReceiver extends MessageReceiverAdapter
{
public void receiveSearch(SearchMessage searchMessage)
{
System.out.println("Search Session received: " +
searchMessage.getSearchCriteria());
}
}

I wanted to know if there is an example like this but using the phex source code.
Reply With Quote
 


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] Phex 2.6.4.89 - phex upload stuck with "initializing" uploads pawelsz General Discussion 1 January 31st, 2006 02:34 PM
No downloads from phex to phex Only A Hobo General Discussion 3 October 21st, 2005 02:20 AM
New to Phex ukbobboy01 General Discussion 4 October 14th, 2005 02:30 AM
[BUG] Phex 2.6.4.89 - phex window graphic corruption pawelsz General Discussion 4 September 18th, 2005 06:38 PM
Decentralized Host-Cache - Only PHEX has one - So Promote PHEX Unregistered General Discussion 0 January 31st, 2002 05:29 AM


All times are GMT -7. The time now is 01:12 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.