com.aelitis.azureus.core.peer.cache.cachelogic
Class CLCacheDiscovery
java.lang.Object
com.aelitis.azureus.core.peer.cache.cachelogic.CLCacheDiscovery
- All Implemented Interfaces:
- CacheDiscoverer
public class CLCacheDiscovery
- extends Object
- implements CacheDiscoverer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDPDomainName
public static final String CDPDomainName
- See Also:
- Constant Field Values
CDPServerName
public static final String CDPServerName
- See Also:
- Constant Field Values
CDPPort
public static final int CDPPort
- See Also:
- Constant Field Values
CDPVersion
public static final int CDPVersion
- See Also:
- Constant Field Values
CDPTimeout
public static final int CDPTimeout
- See Also:
- Constant Field Values
CLCacheDiscovery
public CLCacheDiscovery()
findCache
public InetAddress[] findCache(URL announce_url,
String hex_hash)
findCache
public InetAddress[] findCache(URL announce_url,
byte[] hash)
lookup
public CachePeer[] lookup(TOTorrent torrent)
- Specified by:
lookup
in interface CacheDiscoverer
lookup
public CachePeer lookup(byte[] peer_id,
InetAddress ip,
int port)
- Specified by:
lookup
in interface CacheDiscoverer
main
public static void main(String[] args)