Methods Summary |
---|
public void | addListener(PeerManagerListener l)
|
public void | addPeer(Peer peer)
|
public void | addPeer(java.lang.String ip_address, int port)Add a new peer, using the default internal Peer implementation
(like for peers given in announce reply), using the given address
and port.
|
public void | addPeer(java.lang.String ip_address, int tcp_port, boolean use_crypto)
|
public void | addPeer(java.lang.String ip_address, int tcp_port, int udp_port, boolean use_crypto)
|
public PeerStats | createPeerStats(Peer peer)
|
public DiskManager | getDiskManager()
|
public Download | getDownload()
|
public int | getDownloadRateLimitBytesPerSecond()
|
public Peer[] | getPeers()
|
public Peer[] | getPeers(java.lang.String address)returns the peers for the given address
|
public PeerDescriptor[] | getPendingPeers(java.lang.String address)returns the pending connections to the given address
|
public Piece[] | getPieces()
|
public PeerManagerStats | getStats()
|
public int | getUploadRateLimitBytesPerSecond()
|
public boolean | isSeeding()
|
public boolean | isSuperSeeding()
|
public void | removeListener(PeerManagerListener l)
|
public void | removePeer(Peer peer)
|
public void | requestCancelled(PeerReadRequest request, Peer sender)
|
public void | requestComplete(PeerReadRequest request, org.gudy.azureus2.plugins.utils.PooledByteBuffer data, Peer sender)
|