Package com.biglybt.core.download
Class DiskManagerFileInfoStream.context
- java.lang.Object
-
- com.biglybt.core.download.DiskManagerFileInfoStream.context
-
- Enclosing class:
- DiskManagerFileInfoStream
protected class DiskManagerFileInfoStream.context extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
DiskManagerFileInfoStream.context.channel
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<DiskManagerFileInfoStream.context.channel>
channels
private boolean
context_destroyed
(package private) java.io.RandomAccessFile
raf
(package private) DiskManagerFileInfoStream.StreamFactory.StreamDetails
stream_details
(package private) boolean
stream_got_eof
(package private) java.util.List<AESemaphore>
waiters
-
Constructor Summary
Constructors Modifier Constructor Description protected
context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DiskManagerFileInfoStream.context.channel
createChannel()
protected void
destroy(java.lang.Throwable error)
protected int
read(byte[] buffer, long offset, int length)
protected void
removeChannel(DiskManagerFileInfoStream.context.channel c)
-
-
-
Field Detail
-
raf
java.io.RandomAccessFile raf
-
stream_details
DiskManagerFileInfoStream.StreamFactory.StreamDetails stream_details
-
stream_got_eof
boolean stream_got_eof
-
channels
private java.util.List<DiskManagerFileInfoStream.context.channel> channels
-
waiters
java.util.List<AESemaphore> waiters
-
context_destroyed
private boolean context_destroyed
-
-
Method Detail
-
read
protected int read(byte[] buffer, long offset, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
createChannel
protected DiskManagerFileInfoStream.context.channel createChannel()
-
removeChannel
protected void removeChannel(DiskManagerFileInfoStream.context.channel c)
-
destroy
protected void destroy(java.lang.Throwable error)
-
-