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