Class UploadSlot
- java.lang.Object
-
- com.biglybt.core.peermanager.uploadslots.UploadSlot
-
public class UploadSlot extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private long
expire_round
private UploadSession
session
private int
slot_type
protected static int
TYPE_NORMAL
protected static int
TYPE_OPTIMISTIC
-
Constructor Summary
Constructors Modifier Constructor Description protected
UploadSlot(int _slot_type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getExpireRound()
protected UploadSession
getSession()
protected int
getSlotType()
protected void
setExpireRound(long round)
protected void
setSession(UploadSession _session)
-
-
-
Field Detail
-
TYPE_NORMAL
protected static final int TYPE_NORMAL
- See Also:
- Constant Field Values
-
TYPE_OPTIMISTIC
protected static final int TYPE_OPTIMISTIC
- See Also:
- Constant Field Values
-
slot_type
private final int slot_type
-
expire_round
private long expire_round
-
session
private UploadSession session
-
-
Method Detail
-
getSlotType
protected int getSlotType()
-
setSession
protected void setSession(UploadSession _session)
-
getSession
protected UploadSession getSession()
-
setExpireRound
protected void setExpireRound(long round)
-
getExpireRound
protected long getExpireRound()
-
-