Package com.biglybt.plugin.extseed.util
Class ExternalSeedHTTPDownloaderLinear.Request
- java.lang.Object
-
- com.biglybt.plugin.extseed.util.ExternalSeedHTTPDownloaderLinear.Request
-
- Enclosing class:
- ExternalSeedHTTPDownloaderLinear
private static class ExternalSeedHTTPDownloaderLinear.Request extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ExternalSeedException
exception
private int
length
private ExternalSeedHTTPDownloaderListener
listener
private long
offset
private AESemaphore
sem
-
Constructor Summary
Constructors Modifier Constructor Description protected
Request(long _offset, int _length, ExternalSeedHTTPDownloaderListener _listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
complete()
protected void
destroy(ExternalSeedException e)
protected int
getLength()
protected ExternalSeedHTTPDownloaderListener
getListener()
protected long
getOffset()
boolean
waitFor(int timeout)
-
-
-
Field Detail
-
offset
private long offset
-
length
private int length
-
listener
private ExternalSeedHTTPDownloaderListener listener
-
sem
private AESemaphore sem
-
exception
private volatile ExternalSeedException exception
-
-
Constructor Detail
-
Request
protected Request(long _offset, int _length, ExternalSeedHTTPDownloaderListener _listener)
-
-
Method Detail
-
getOffset
protected long getOffset()
-
getLength
protected int getLength()
-
getListener
protected ExternalSeedHTTPDownloaderListener getListener()
-
complete
protected void complete()
-
destroy
protected void destroy(ExternalSeedException e)
-
waitFor
public boolean waitFor(int timeout) throws ExternalSeedException
- Throws:
ExternalSeedException
-
-