|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.pluginsimpl.local.peers.PeerManagerStatsImpl
public class PeerManagerStatsImpl
Field Summary | |
---|---|
protected PEPeerManager |
manager
|
protected PEPeerManagerStats |
stats
|
Constructor Summary | |
---|---|
protected |
PeerManagerStatsImpl(PEPeerManager _manager)
|
Method Summary | |
---|---|
int |
getConnectedLeechers()
|
int |
getConnectedSeeds()
|
long |
getDiscarded()
|
long |
getDownloadAverage()
|
long |
getDownloaded()
|
long |
getHashFailBytes()
|
int |
getPermittedBytesToReceive()
For an external process receiving bytes on behalf of this download this gives the current rate-limited number of bytes that can be received. |
int |
getPermittedBytesToSend()
For an external process sending bytes on behalf of this download this gives the current rate-limited number of bytes that can be sent. |
long |
getUploadAverage()
|
long |
getUploaded()
|
void |
permittedReceiveBytesUsed(int bytes)
The given number of data (payload) bytes have been received. |
void |
permittedSendBytesUsed(int bytes)
The given number of data (payload) bytes have been sent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PEPeerManager manager
protected PEPeerManagerStats stats
Constructor Detail |
---|
protected PeerManagerStatsImpl(PEPeerManager _manager)
Method Detail |
---|
public int getConnectedSeeds()
getConnectedSeeds
in interface PeerManagerStats
public int getConnectedLeechers()
getConnectedLeechers
in interface PeerManagerStats
public long getDownloaded()
getDownloaded
in interface PeerManagerStats
public long getUploaded()
getUploaded
in interface PeerManagerStats
public long getDownloadAverage()
getDownloadAverage
in interface PeerManagerStats
public long getUploadAverage()
getUploadAverage
in interface PeerManagerStats
public long getDiscarded()
getDiscarded
in interface PeerManagerStats
public long getHashFailBytes()
getHashFailBytes
in interface PeerManagerStats
public int getPermittedBytesToReceive()
PeerManagerStats
getPermittedBytesToReceive
in interface PeerManagerStats
public void permittedReceiveBytesUsed(int bytes)
PeerManagerStats
Use this if you are talking to stuff outside of Azureus' API, and want your stats added into Azureus'
permittedReceiveBytesUsed
in interface PeerManagerStats
public int getPermittedBytesToSend()
PeerManagerStats
getPermittedBytesToSend
in interface PeerManagerStats
public void permittedSendBytesUsed(int bytes)
PeerManagerStats
Use this if you are talking to stuff outside of Azureus' API, and want your stats added into Azureus'
permittedSendBytesUsed
in interface PeerManagerStats
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |