Package com.biglybt.plugin.net.buddy
Class BuddyPluginBuddy.fragmentHandler.fragmentAssembly
- java.lang.Object
-
- com.biglybt.plugin.net.buddy.BuddyPluginBuddy.fragmentHandler.fragmentAssembly
-
- Enclosing class:
- BuddyPluginBuddy.fragmentHandler
protected class BuddyPluginBuddy.fragmentHandler.fragmentAssembly extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
chunk_size
private java.util.Set
chunks_received
private byte[]
data
private int
id
private int
num_chunks
-
Constructor Summary
Constructors Modifier Constructor Description protected
fragmentAssembly(int _id, int _length, int _chunk_size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getChunksReceived()
protected byte[]
getData()
protected int
getID()
protected int
getTotalChunks()
protected boolean
receive(int chunk_num, byte[] chunk)
-