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 int
protected int[]
protected int[]
protected int[]
Fields inherited from class com.biglybt.net.udp.uc.PRUDPPacketReply
PR_HEADER_SIZE
Fields inherited from class com.biglybt.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionPRUDPPacketReplyScrape2
(int trans_id) protected
PRUDPPacketReplyScrape2
(DataInputStream is, int trans_id) -
Method Summary
Modifier and TypeMethodDescriptionint[]
int[]
int[]
void
void
setDetails
(int[] _complete, int[] _downloaded, int[] _incomplete) Methods inherited from class com.biglybt.net.udp.uc.PRUDPPacketReply
deserialiseReply, registerDecoders
Methods inherited from class com.biglybt.net.udp.uc.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:
serialise
in classPRUDPPacketReply
- Throws:
IOException
-
getString
- Overrides:
getString
in classPRUDPPacketReply
-