Package com.biglybt.core.devices.impl
Class TranscodeJobOutputLeecher.Channel
- java.lang.Object
-
- com.biglybt.core.devices.impl.TranscodeJobOutputLeecher.Channel
-
- All Implemented Interfaces:
DiskManagerChannel
- Enclosing class:
- TranscodeJobOutputLeecher
protected class TranscodeJobOutputLeecher.Channel extends java.lang.Object implements DiskManagerChannel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TranscodeJobOutputLeecher.Channel.request
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
channel_destroyed
(package private) long
channel_position
private java.io.RandomAccessFile
raf
-
Constructor Summary
Constructors Modifier Constructor Description protected
Channel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskManagerRequest
createRequest()
void
destroy()
DiskManagerFileInfo
getFile()
long
getPosition()
boolean
isDestroyed()
protected int
read(byte[] buffer, long offset, int length)
-
-
-
Method Detail
-
createRequest
public DiskManagerRequest createRequest()
- Specified by:
createRequest
in interfaceDiskManagerChannel
-
getFile
public DiskManagerFileInfo getFile()
- Specified by:
getFile
in interfaceDiskManagerChannel
-
getPosition
public long getPosition()
- Specified by:
getPosition
in interfaceDiskManagerChannel
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed
in interfaceDiskManagerChannel
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceDiskManagerChannel
-
read
protected int read(byte[] buffer, long offset, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
-