Class PRUDPPacketReplyScrape

    • Field Detail

      • hashes

        protected byte[][] hashes
      • complete

        protected int[] complete
      • incomplete

        protected int[] incomplete
      • downloaded

        protected int[] downloaded
    • Constructor Detail

      • PRUDPPacketReplyScrape

        public PRUDPPacketReplyScrape​(int trans_id)
      • PRUDPPacketReplyScrape

        protected PRUDPPacketReplyScrape​(java.io.DataInputStream is,
                                         int trans_id)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • 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​(java.io.DataOutputStream os)
                       throws java.io.IOException
        Overrides:
        serialise in class PRUDPPacketReply
        Throws:
        java.io.IOException