org.gudy.azureus2.pluginsimpl.local.tracker
Class TrackerPeerImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.tracker.TrackerPeerImpl
All Implemented Interfaces:
TrackerPeer

public class TrackerPeerImpl
extends java.lang.Object
implements TrackerPeer


Field Summary
protected  TRHostPeer peer
           
 
Constructor Summary
protected TrackerPeerImpl(TRHostPeer _peer)
           
 
Method Summary
 long getAmountLeft()
           
 long getDownloaded()
           
 java.lang.String getIP()
           
 java.lang.String getIPRaw()
          Raw value is as read, not InetAddress lookuped
 byte[] getPeerID()
           
 int getPort()
           
 long getUploaded()
           
 boolean isSeed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peer

protected TRHostPeer peer
Constructor Detail

TrackerPeerImpl

protected TrackerPeerImpl(TRHostPeer _peer)
Method Detail

isSeed

public boolean isSeed()
Specified by:
isSeed in interface TrackerPeer

getAmountLeft

public long getAmountLeft()
Specified by:
getAmountLeft in interface TrackerPeer

getDownloaded

public long getDownloaded()
Specified by:
getDownloaded in interface TrackerPeer

getUploaded

public long getUploaded()
Specified by:
getUploaded in interface TrackerPeer

getIP

public java.lang.String getIP()
Specified by:
getIP in interface TrackerPeer

getIPRaw

public java.lang.String getIPRaw()
Description copied from interface: TrackerPeer
Raw value is as read, not InetAddress lookuped

Specified by:
getIPRaw in interface TrackerPeer
Returns:

getPort

public int getPort()
Specified by:
getPort in interface TrackerPeer

getPeerID

public byte[] getPeerID()
Specified by:
getPeerID in interface TrackerPeer