Class PRUDPPacketReplyAnnounce2

java.lang.Object
com.biglybt.net.udp.uc.PRUDPPacket
com.biglybt.net.udp.uc.PRUDPPacketReply
com.biglybt.core.tracker.protocol.udp.PRUDPPacketReplyAnnounce2

public class PRUDPPacketReplyAnnounce2 extends PRUDPPacketReply
  • Field Details

    • AT_IPV4

      public static final int AT_IPV4
      See Also:
    • AT_IPV6

      public static final int AT_IPV6
      See Also:
    • AT_I2P

      public static final int AT_I2P
      See Also:
    • BYTES_PER_ENTRY

      private static final int[] BYTES_PER_ENTRY
    • address_type

      private final int address_type
    • interval

      private int interval
    • leechers

      private int leechers
    • seeders

      private int seeders
    • addresses

      private byte[][] addresses
    • ports

      private short[] ports
  • Constructor Details

    • PRUDPPacketReplyAnnounce2

      public PRUDPPacketReplyAnnounce2(int trans_id, int _address_type)
    • PRUDPPacketReplyAnnounce2

      protected PRUDPPacketReplyAnnounce2(DataInputStream is, int trans_id, int _address_type) throws IOException
      Throws:
      IOException
  • Method Details

    • getAddressType

      public int getAddressType()
    • setInterval

      public void setInterval(int value)
    • getInterval

      public int getInterval()
    • setLeechersSeeders

      public void setLeechersSeeders(int _leechers, int _seeders)
    • setPeers

      public void setPeers(byte[][] _addresses, short[] _ports)
    • getAddresses

      public byte[][] 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