org.xnap.plugin.limewire
Class DefaultLimeWireSearch

java.lang.Object
  extended by org.xnap.search.AbstractSearch
      extended by org.xnap.plugin.limewire.DefaultLimeWireSearch
All Implemented Interfaces:
LimeWireSearch, Search

public class DefaultLimeWireSearch
extends AbstractSearch
implements LimeWireSearch

Implements a limewire search session.


Constructor Summary
DefaultLimeWireSearch(SearchFilter filter, com.limegroup.gnutella.GUID guid)
           
 
Method Summary
 void failed()
           
 java.lang.String getStatus()
          Returns a string that describes the current status.
 boolean isDone()
          Returns true, if this search can not be canceled.
 void received(LimeWireSearchResult result)
           
 void start(SearchHandler handler)
          Starts this search.
 void stop()
          Cancels this search.
 
Methods inherited from class org.xnap.search.AbstractSearch
getActions, getFilter, getName, showTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xnap.search.Search
getActions, getFilter, getName, showTree
 

Constructor Detail

DefaultLimeWireSearch

public DefaultLimeWireSearch(SearchFilter filter,
                             com.limegroup.gnutella.GUID guid)
Method Detail

getStatus

public java.lang.String getStatus()
Returns a string that describes the current status.

Specified by:
getStatus in interface Search

isDone

public boolean isDone()
Returns true, if this search can not be canceled.

Specified by:
isDone in interface Search

received

public void received(LimeWireSearchResult result)
Specified by:
received in interface LimeWireSearch

start

public void start(SearchHandler handler)
Starts this search.

Specified by:
start in interface Search
Parameters:
handler - the object that handles the results

stop

public void stop()
Cancels this search.

Specified by:
stop in interface Search

failed

public void failed()
Specified by:
failed in interface LimeWireSearch
See Also:
xnap.plugin.limewire.LimeWireSearch#failed()


Copyright © 2001-2005 XNap Team. All Rights Reserved.