FileDocCategorySizeDatePackage
PeerManagerStatsImpl.javaAPI DocAzureus 3.0.3.42018Thu Feb 09 19:43:14 GMT 2006org.gudy.azureus2.pluginsimpl.local.peers

PeerManagerStatsImpl

public class PeerManagerStatsImpl extends Object implements PeerManagerStats
author
parg

Fields Summary
protected PEPeerManager
manager
protected PEPeerManagerStats
stats
Constructors Summary
protected PeerManagerStatsImpl(PEPeerManager _manager)

		manager	= _manager;
		stats	= manager.getStats();
	
Methods Summary
public intgetConnectedLeechers()

		return( manager.getNbPeers());
	
public intgetConnectedSeeds()

		return( manager.getNbSeeds());
	
public longgetDiscarded()

		return( stats.getTotalDiscarded());
	
public longgetDownloadAverage()

		return( stats.getDataReceiveRate());
	
public longgetDownloaded()

		return( stats.getTotalDataBytesReceived());
	
public longgetHashFailBytes()

		return( stats.getTotalHashFailBytes());
	
public longgetUploadAverage()

		return( stats.getDataSendRate());
	
public longgetUploaded()

		return( stats.getTotalDataBytesSent());