|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.limewire.LimeWireBrowse
public class LimeWireBrowse
Implements a limewire search session.
Constructor Summary | |
---|---|
LimeWireBrowse(java.lang.String host,
int port,
com.limegroup.gnutella.GUID guid,
com.limegroup.gnutella.GUID clientGUID,
com.sun.java.util.collections.Set proxies)
|
Method Summary | |
---|---|
void |
failed()
|
javax.swing.Action[] |
getActions()
Returns null . |
SearchFilter |
getFilter()
Returns the search filter that was used to find the results. |
java.lang.String |
getName()
Returns a string that should be shown to the user. |
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)
|
boolean |
showTree()
Returns true, if a tree should be shown next to search results. |
void |
start(SearchHandler handler)
Starts this search. |
void |
stop()
Cancels this search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LimeWireBrowse(java.lang.String host, int port, com.limegroup.gnutella.GUID guid, com.limegroup.gnutella.GUID clientGUID, com.sun.java.util.collections.Set proxies)
Method Detail |
---|
public javax.swing.Action[] getActions()
null
.
getActions
in interface Search
public java.lang.String getStatus()
getStatus
in interface Search
public boolean isDone()
isDone
in interface Search
public void received(LimeWireSearchResult result)
received
in interface LimeWireSearch
public void start(SearchHandler handler)
start
in interface Search
handler
- the object that handles the resultspublic void stop()
stop
in interface Search
public void failed()
failed
in interface LimeWireSearch
xnap.plugin.limewire.LimeWireSearch#failed()
public SearchFilter getFilter()
Search
getFilter
in interface Search
xnap.search.Search#getFilter()
public java.lang.String getName()
Search
getName
in interface Search
xnap.search.Search#getName()
public boolean showTree()
Search
showTree
in interface Search
xnap.search.Search#showTree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |