com.aelitis.azureus.core.diskmanager.file.impl
Class FMFileTestImpl

java.lang.Object
  extended by com.aelitis.azureus.core.diskmanager.file.impl.FMFileImpl
      extended by com.aelitis.azureus.core.diskmanager.file.impl.FMFileUnlimited
          extended by com.aelitis.azureus.core.diskmanager.file.impl.FMFileTestImpl
All Implemented Interfaces:
FMFile

public class FMFileTestImpl
extends FMFileUnlimited

Author:
parg

Field Summary
protected  long file_offset_in_torrent
           
 
Fields inherited from class com.aelitis.azureus.core.diskmanager.file.impl.FMFileImpl
READ_ACCESS_MODE, this_mon, WRITE_ACCESS_MODE
 
Fields inherited from interface com.aelitis.azureus.core.diskmanager.file.FMFile
FM_READ, FM_WRITE, FT_COMPACT, FT_LINEAR, FT_PIECE_REORDER, FT_PIECE_REORDER_COMPACT
 
Constructor Summary
protected FMFileTestImpl(FMFileOwner _owner, FMFileManagerImpl _manager, File _file, int _type)
           
 
Method Summary
protected  void readSupport(DirectByteBuffer buffer, long offset)
           
protected  void writeSupport(DirectByteBuffer[] buffers, long offset)
           
 
Methods inherited from class com.aelitis.azureus.core.diskmanager.file.impl.FMFileUnlimited
close, createClone, getLength, read, read, setAccessMode, setLength, setPieceComplete, write, write
 
Methods inherited from class com.aelitis.azureus.core.diskmanager.file.impl.FMFileImpl
closeSupport, createDirs, delete, deleteDirs, ensureOpen, exists, flush, generateEvidence, getAccessMode, getLengthSupport, getLinkedFile, getManager, getName, getOwner, getStorageType, getString, isClone, isOpen, isPieceCompleteProcessingNeeded, moveFile, openSupport, readSupport, renameFile, reopen, setAccessModeSupport, setLengthSupport, setPieceCompleteSupport, setStorageType, writeSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file_offset_in_torrent

protected long file_offset_in_torrent
Constructor Detail

FMFileTestImpl

protected FMFileTestImpl(FMFileOwner _owner,
                         FMFileManagerImpl _manager,
                         File _file,
                         int _type)
                  throws FMFileManagerException
Throws:
FMFileManagerException
Method Detail

readSupport

protected void readSupport(DirectByteBuffer buffer,
                           long offset)
                    throws FMFileManagerException
Overrides:
readSupport in class FMFileImpl
Throws:
FMFileManagerException

writeSupport

protected void writeSupport(DirectByteBuffer[] buffers,
                            long offset)
                     throws FMFileManagerException
Overrides:
writeSupport in class FMFileImpl
Throws:
FMFileManagerException