org.gudy.azureus2.core3.tracker.protocol.udp
Class PRUDPPacketReplyScrape2

java.lang.Object
  extended by com.aelitis.net.udp.uc.PRUDPPacket
      extended by com.aelitis.net.udp.uc.PRUDPPacketReply
          extended by org.gudy.azureus2.core3.tracker.protocol.udp.PRUDPPacketReplyScrape2

public class PRUDPPacketReplyScrape2
extends PRUDPPacketReply


Field Summary
protected static int BYTES_PER_ENTRY
           
protected  int[] complete
           
protected  int[] downloaded
           
protected  int[] incomplete
           
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacketReply
PR_HEADER_SIZE
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
 
Constructor Summary
protected PRUDPPacketReplyScrape2(DataInputStream is, int trans_id)
           
  PRUDPPacketReplyScrape2(int trans_id)
           
 
Method Summary
 int[] getComplete()
           
 int[] getDownloaded()
           
 int[] getIncomplete()
           
 String getString()
           
 void serialise(DataOutputStream os)
           
 void setDetails(int[] _complete, int[] _downloaded, int[] _incomplete)
           
 
Methods inherited from class com.aelitis.net.udp.uc.PRUDPPacketReply
deserialiseReply, registerDecoders
 
Methods inherited from class com.aelitis.net.udp.uc.PRUDPPacket
getAction, getAddress, getPreviousPacket, getSerialisedSize, getTransactionId, hasContinuation, setAddress, setPreviousPacket, setSerialisedSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTES_PER_ENTRY

protected static final int BYTES_PER_ENTRY
See Also:
Constant Field Values

complete

protected int[] complete

incomplete

protected int[] incomplete

downloaded

protected int[] downloaded
Constructor Detail

PRUDPPacketReplyScrape2

public PRUDPPacketReplyScrape2(int trans_id)

PRUDPPacketReplyScrape2

protected PRUDPPacketReplyScrape2(DataInputStream is,
                                  int trans_id)
                           throws IOException
Throws:
IOException
Method Detail

setDetails

public void setDetails(int[] _complete,
                       int[] _downloaded,
                       int[] _incomplete)

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