org.gudy.azureus2.core3.tracker.protocol.udp
Class PRUDPPacketReplyAnnounce2
java.lang.Object
com.aelitis.net.udp.uc.PRUDPPacket
com.aelitis.net.udp.uc.PRUDPPacketReply
org.gudy.azureus2.core3.tracker.protocol.udp.PRUDPPacketReplyAnnounce2
public class PRUDPPacketReplyAnnounce2
- extends PRUDPPacketReply
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interval
protected int interval
leechers
protected int leechers
seeders
protected int seeders
BYTES_PER_ENTRY
protected static final int BYTES_PER_ENTRY
- See Also:
- Constant Field Values
addresses
protected int[] addresses
ports
protected short[] ports
PRUDPPacketReplyAnnounce2
public PRUDPPacketReplyAnnounce2(int trans_id)
PRUDPPacketReplyAnnounce2
protected PRUDPPacketReplyAnnounce2(DataInputStream is,
int trans_id)
throws IOException
- Throws:
IOException
setInterval
public void setInterval(int value)
getInterval
public int getInterval()
setLeechersSeeders
public void setLeechersSeeders(int _leechers,
int _seeders)
setPeers
public void setPeers(int[] _addresses,
short[] _ports)
getAddresses
public int[] getAddresses()
getPorts
public short[] getPorts()
getLeechers
public int getLeechers()
getSeeders
public int getSeeders()
serialise
public void serialise(DataOutputStream os)
throws IOException
- Overrides:
serialise
in class PRUDPPacketReply
- Throws:
IOException
getString
public String getString()
- Overrides:
getString
in class PRUDPPacketReply