org.xnap.plugin.overnet.net
Class OvernetSearch

java.lang.Object
  extended by org.xnap.search.AbstractSearch
      extended by org.xnap.plugin.overnet.net.OvernetSearch
All Implemented Interfaces:
MessageListener, Search

public class OvernetSearch
extends AbstractSearch
implements MessageListener


Constructor Summary
OvernetSearch(SearchFilter filter)
           
 
Method Summary
 java.lang.String getStatus()
          Returns a string that describes the current status.
 boolean isDone()
          Returns true, if this search can not be canceled.
 void messageReceived(OvernetMessage msg)
           
 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
 

Constructor Detail

OvernetSearch

public OvernetSearch(SearchFilter filter)
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

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

messageReceived

public void messageReceived(OvernetMessage msg)
Specified by:
messageReceived in interface MessageListener


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