FileDocCategorySizeDatePackage
DownloadManagerStatsImpl.javaAPI DocAzureus 3.0.3.42978Fri Jun 08 12:08:42 BST 2007org.gudy.azureus2.pluginsimpl.local.download

DownloadManagerStatsImpl

public class DownloadManagerStatsImpl extends Object implements org.gudy.azureus2.plugins.download.DownloadManagerStats

Fields Summary
private org.gudy.azureus2.core3.global.GlobalManagerStats
global_manager_stats
private org.gudy.azureus2.core3.stats.transfer.OverallStats
overall_stats
Constructors Summary
protected DownloadManagerStatsImpl(org.gudy.azureus2.core3.global.GlobalManager _gm)

		global_manager_stats	= _gm.getStats();
		
		overall_stats = StatsFactory.getStats();
	
Methods Summary
public intgetDataAndProtocolReceiveRate()

		return( global_manager_stats.getDataAndProtocolReceiveRate());
	
public intgetDataAndProtocolSendRate()

		return( global_manager_stats.getDataAndProtocolSendRate());
	
public longgetDataBytesReceived()

		return( global_manager_stats.getTotalDataBytesReceived());
	
public longgetDataBytesSent()

		return( global_manager_stats.getTotalDataBytesSent());
	
public intgetDataReceiveRate()

		return( global_manager_stats.getDataReceiveRate());
	
public intgetDataSendRate()

		return( global_manager_stats.getDataSendRate());
	
public longgetOverallDataBytesReceived()

		return( overall_stats.getDownloadedBytes());
	
public longgetOverallDataBytesSent()

		return( overall_stats.getUploadedBytes());
	
public longgetProtocolBytesReceived()

		return( global_manager_stats.getTotalProtocolBytesReceived());
	
public longgetProtocolBytesSent()

		return( global_manager_stats.getTotalProtocolBytesSent());
	
public intgetProtocolReceiveRate()

		return( global_manager_stats.getProtocolReceiveRate());
	
public intgetProtocolSendRate()

		return( global_manager_stats.getProtocolSendRate());
	
public longgetSessionUptimeSeconds()

		return( overall_stats.getSessionUpTime());