com.aelitis.azureus.core.peer.cache
Class CacheDiscovery.CachePeerImpl
java.lang.Object
com.aelitis.azureus.core.peer.cache.CacheDiscovery.CachePeerImpl
- All Implemented Interfaces:
- CachePeer
- Enclosing class:
- CacheDiscovery
public static class CacheDiscovery.CachePeerImpl
- extends Object
- implements CachePeer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheDiscovery.CachePeerImpl
public CacheDiscovery.CachePeerImpl(int _type,
InetAddress _address,
int _port)
getType
public int getType()
- Specified by:
getType
in interface CachePeer
getAddress
public InetAddress getAddress()
- Specified by:
getAddress
in interface CachePeer
getPort
public int getPort()
- Specified by:
getPort
in interface CachePeer
getCreateTime
public long getCreateTime(long now)
- Specified by:
getCreateTime
in interface CachePeer
getInjectTime
public long getInjectTime(long now)
- Specified by:
getInjectTime
in interface CachePeer
setInjectTime
public void setInjectTime(long time)
- Specified by:
setInjectTime
in interface CachePeer
getSpeedChangeTime
public long getSpeedChangeTime(long now)
- Specified by:
getSpeedChangeTime
in interface CachePeer
setSpeedChangeTime
public void setSpeedChangeTime(long time)
- Specified by:
setSpeedChangeTime
in interface CachePeer
getAutoReconnect
public boolean getAutoReconnect()
- Specified by:
getAutoReconnect
in interface CachePeer
setAutoReconnect
public void setAutoReconnect(boolean auto)
- Specified by:
setAutoReconnect
in interface CachePeer
sameAs
public boolean sameAs(CachePeer other)
- Specified by:
sameAs
in interface CachePeer
getString
public String getString()
- Specified by:
getString
in interface CachePeer