com.aelitis.azureus.core.peermanager
Class PeerManager
java.lang.Object
com.aelitis.azureus.core.peermanager.PeerManager
- All Implemented Interfaces:
- AzureusCoreStatsProvider
public class PeerManager
- extends java.lang.Object
- implements AzureusCoreStatsProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registerForTimeouts
protected static void registerForTimeouts(com.aelitis.azureus.core.peermanager.PeerManager.PeerManagerRegistrationImpl reg)
getSingleton
public static PeerManager getSingleton()
- Get the singleton instance of the peer manager.
- Returns:
- the peer manager
updateStats
public void updateStats(java.util.Set types,
java.util.Map values)
- Specified by:
updateStats
in interface AzureusCoreStatsProvider
init
protected void init()
manualMatchHash
public PeerManagerRegistration manualMatchHash(java.net.InetSocketAddress address,
byte[] hash)
manualMatchLink
public PeerManagerRegistration manualMatchLink(java.net.InetSocketAddress address,
java.lang.String link)
manualRoute
public void manualRoute(PeerManagerRegistration _registration,
NetworkConnection _connection,
PeerManagerRoutingListener _listener)
registerLegacyManager
public PeerManagerRegistration registerLegacyManager(HashWrapper hash,
PeerManagerRegistrationAdapter adapter)