Class PRUDPPacketReplyScrape2
java.lang.Object
com.biglybt.net.udp.uc.PRUDPPacket
com.biglybt.net.udp.uc.PRUDPPacketReply
com.biglybt.core.tracker.protocol.udp.PRUDPPacketReplyScrape2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected int[]protected int[]protected int[]Fields inherited from class PRUDPPacketReply
PR_HEADER_SIZEFields inherited from class PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE -
Constructor Summary
ConstructorsModifierConstructorDescriptionPRUDPPacketReplyScrape2(int trans_id) protectedPRUDPPacketReplyScrape2(DataInputStream is, int trans_id) -
Method Summary
Modifier and TypeMethodDescriptionint[]int[]int[]voidvoidsetDetails(int[] _complete, int[] _downloaded, int[] _incomplete) Methods inherited from class PRUDPPacketReply
deserialiseReply, registerDecodersMethods inherited from class PRUDPPacket
getAction, getAddress, getMinimumProtocolVersion, getPreviousPacket, getSerialisedSize, getTransactionId, hasContinuation, setAddress, setPreviousPacket, setSerialisedSize
-
Field Details
-
BYTES_PER_ENTRY
protected static final int BYTES_PER_ENTRY- See Also:
-
complete
protected int[] complete -
incomplete
protected int[] incomplete -
downloaded
protected int[] downloaded
-
-
Constructor Details
-
PRUDPPacketReplyScrape2
public PRUDPPacketReplyScrape2(int trans_id) -
PRUDPPacketReplyScrape2
- Throws:
IOException
-
-
Method Details
-
setDetails
public void setDetails(int[] _complete, int[] _downloaded, int[] _incomplete) -
getComplete
public int[] getComplete() -
getDownloaded
public int[] getDownloaded() -
getIncomplete
public int[] getIncomplete() -
serialise
- Overrides:
serialisein classPRUDPPacketReply- Throws:
IOException
-
getString
- Overrides:
getStringin classPRUDPPacketReply
-