org.xnap.plugin.limewire
Class LimeWireSearchManager
java.lang.Object
org.xnap.plugin.limewire.LimeWireSearchManager
- All Implemented Interfaces:
- SearchProvider
public class LimeWireSearchManager
- extends java.lang.Object
- implements SearchProvider
Method Summary |
void |
browse(com.limegroup.gnutella.RemoteFileDesc desc)
|
void |
browse(java.lang.String host,
int port,
com.limegroup.gnutella.GUID clientGUID,
com.sun.java.util.collections.Set proxies)
|
void |
failed(com.limegroup.gnutella.GUID guid)
|
java.lang.String |
getName()
Returns the name of the search network that is displayed to the user. |
MediaType[] |
getSupportedMediaTypes()
Returns an array of MediaType objects that are supported
by the provider. |
void |
received(com.limegroup.gnutella.RemoteFileDesc file,
com.limegroup.gnutella.search.HostData data,
com.sun.java.util.collections.Set locations)
|
Search |
search(SearchFilter filter)
Invoked when a search is requested. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LimeWireSearchManager
public LimeWireSearchManager()
getSupportedMediaTypes
public MediaType[] getSupportedMediaTypes()
- Description copied from interface:
SearchProvider
- Returns an array of
MediaType
objects that are supported
by the provider.
- Specified by:
getSupportedMediaTypes
in interface SearchProvider
getName
public java.lang.String getName()
- Description copied from interface:
SearchProvider
- Returns the name of the search network that is displayed to the user.
- Specified by:
getName
in interface SearchProvider
received
public void received(com.limegroup.gnutella.RemoteFileDesc file,
com.limegroup.gnutella.search.HostData data,
com.sun.java.util.collections.Set locations)
search
public Search search(SearchFilter filter)
- Invoked when a search is requested.
- Specified by:
search
in interface SearchProvider
browse
public void browse(com.limegroup.gnutella.RemoteFileDesc desc)
- Parameters:
desc
-
browse
public void browse(java.lang.String host,
int port,
com.limegroup.gnutella.GUID clientGUID,
com.sun.java.util.collections.Set proxies)
failed
public void failed(com.limegroup.gnutella.GUID guid)
- Parameters:
guid
-
Copyright © 2001-2005 XNap Team. All Rights Reserved.