org.gudy.azureus2.core3.tracker.client.impl
Class TRTrackerAnnouncerResponsePeerImpl
java.lang.Object
org.gudy.azureus2.core3.tracker.client.impl.TRTrackerAnnouncerResponsePeerImpl
- All Implemented Interfaces:
- TRTrackerAnnouncerResponsePeer, DownloadAnnounceResultPeer
public class TRTrackerAnnouncerResponsePeerImpl
- extends java.lang.Object
- implements TRTrackerAnnouncerResponsePeer
Constructor Summary |
TRTrackerAnnouncerResponsePeerImpl(java.lang.String _source,
byte[] _peer_id,
java.lang.String _address,
int _tcp_port,
int _udp_port,
int _http_port,
short _crypto,
byte _az_version,
int _up_speed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRTrackerAnnouncerResponsePeerImpl
public TRTrackerAnnouncerResponsePeerImpl(java.lang.String _source,
byte[] _peer_id,
java.lang.String _address,
int _tcp_port,
int _udp_port,
int _http_port,
short _crypto,
byte _az_version,
int _up_speed)
getSource
public java.lang.String getSource()
- Specified by:
getSource
in interface DownloadAnnounceResultPeer
getPeerID
public byte[] getPeerID()
- Specified by:
getPeerID
in interface DownloadAnnounceResultPeer
getAddress
public java.lang.String getAddress()
- Specified by:
getAddress
in interface DownloadAnnounceResultPeer
getPort
public int getPort()
- Specified by:
getPort
in interface DownloadAnnounceResultPeer
getUDPPort
public int getUDPPort()
- Specified by:
getUDPPort
in interface DownloadAnnounceResultPeer
getHTTPPort
public int getHTTPPort()
- Specified by:
getHTTPPort
in interface TRTrackerAnnouncerResponsePeer
getProtocol
public short getProtocol()
- Specified by:
getProtocol
in interface DownloadAnnounceResultPeer
getAZVersion
public byte getAZVersion()
- Specified by:
getAZVersion
in interface TRTrackerAnnouncerResponsePeer
getUploadSpeed
public int getUploadSpeed()
- Specified by:
getUploadSpeed
in interface TRTrackerAnnouncerResponsePeer
getKey
protected java.lang.String getKey()
compareTo
public int compareTo(TRTrackerAnnouncerResponsePeer other)
- Specified by:
compareTo
in interface TRTrackerAnnouncerResponsePeer
getString
public java.lang.String getString()