Class PRUDPPacketReplyScrape

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

public class PRUDPPacketReplyScrape extends PRUDPPacketReply
  • Field Details

    • BYTES_PER_ENTRY

      protected static final int BYTES_PER_ENTRY
      See Also:
    • hashes

      protected byte[][] hashes
    • complete

      protected int[] complete
    • incomplete

      protected int[] incomplete
    • downloaded

      protected int[] downloaded
  • Constructor Details

    • PRUDPPacketReplyScrape

      public PRUDPPacketReplyScrape(int trans_id)
    • PRUDPPacketReplyScrape

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

    • setDetails

      public void setDetails(byte[][] _hashes, int[] _complete, int[] _downloaded, int[] _incomplete)
    • getHashes

      public byte[][] getHashes()
    • getComplete

      public int[] getComplete()
    • getDownloaded

      public int[] getDownloaded()
    • getIncomplete

      public int[] getIncomplete()
    • serialise

      public void serialise(DataOutputStream os) throws IOException
      Overrides:
      serialise in class PRUDPPacketReply
      Throws:
      IOException
    • getString

      public String getString()
      Overrides:
      getString in class PRUDPPacketReply