Class UploadSession
- java.lang.Object
-
- com.biglybt.core.peermanager.uploadslots.UploadSession
-
public class UploadSession extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private PEPeer
peer
private int
session_type
protected static int
TYPE_DOWNLOAD
protected static int
TYPE_SEED
-
Constructor Summary
Constructors Modifier Constructor Description protected
UploadSession(PEPeer _peer, int _session_type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getSessionType()
protected java.lang.String
getStatsTrace()
protected boolean
isSameSession(UploadSession session)
protected void
start()
protected void
stop()
-
-
-
Field Detail
-
TYPE_DOWNLOAD
protected static final int TYPE_DOWNLOAD
- See Also:
- Constant Field Values
-
TYPE_SEED
protected static final int TYPE_SEED
- See Also:
- Constant Field Values
-
peer
private final PEPeer peer
-
session_type
private final int session_type
-
-
Constructor Detail
-
UploadSession
protected UploadSession(PEPeer _peer, int _session_type)
-
-
Method Detail
-
getSessionType
protected int getSessionType()
-
start
protected void start()
-
stop
protected void stop()
-
isSameSession
protected boolean isSameSession(UploadSession session)
-
getStatsTrace
protected java.lang.String getStatsTrace()
-
-