com.aelitis.azureus.core.peermanager
Class PeerManager
java.lang.Object
com.aelitis.azureus.core.peermanager.PeerManager
- All Implemented Interfaces:
- AzureusCoreStatsProvider
public class PeerManager
- extends 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(Set types,
Map values)
- Specified by:
updateStats
in interface AzureusCoreStatsProvider
init
protected void init()
manualMatchHash
public PeerManagerRegistration manualMatchHash(InetSocketAddress address,
byte[] hash)
manualMatchLink
public PeerManagerRegistration manualMatchLink(InetSocketAddress address,
String link)
manualRoute
public void manualRoute(PeerManagerRegistration _registration,
NetworkConnection _connection,
PeerManagerRoutingListener _listener)
registerLegacyManager
public PeerManagerRegistration registerLegacyManager(HashWrapper hash,
PeerManagerRegistrationAdapter adapter)