com.limegroup.gnutella.search
Class SearchResultHandler

java.lang.Object
  extended bycom.limegroup.gnutella.search.SearchResultHandler

public final class SearchResultHandler
extends java.lang.Object

Handles incoming search results from the network. This class parses the results from QueryReply instances and performs the logic necessary to pass those results up to the UI.


Constructor Summary
SearchResultHandler()
           
 
Method Summary
 void handleQueryReply(QueryReply qr)
          Adds the query reply.
 void start()
          Starts the thread that processes search results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultHandler

public SearchResultHandler()
Method Detail

start

public void start()
Starts the thread that processes search results.


handleQueryReply

public void handleQueryReply(QueryReply qr)
Adds the query reply. It may take some time to actually process the result.

Parameters:
qr - the QueryReply to add