C# Class OctoTorrent.Client.DiskManager

Inheritance: IDisposable
Mostra file Open project: Eskat0n/OctoTorrent Class Usage Examples

Private Properties

Property Type Description
BeginGetHash void
CheckAnyFilesExist bool
CheckFileExists bool
CloseFileStreams System.Threading.WaitHandle
DiskManager Common.System
MoveFile void
MoveFiles void
PerformRead void
PerformWrite void
QueueFlush void
QueueRead void
QueueRead void
QueueWrite void
QueueWrite void
SetError void

Public Methods

Method Description
Dispose ( ) : void
Flush ( ) : void
Flush ( TorrentManager manager ) : void

Private Methods

Method Description
BeginGetHash ( TorrentManager manager, int pieceIndex, MainLoopResult callback ) : void
CheckAnyFilesExist ( TorrentManager manager ) : bool
CheckFileExists ( TorrentManager manager, TorrentFile file ) : bool
CloseFileStreams ( TorrentManager manager ) : WaitHandle
DiskManager ( ClientEngine engine, PieceWriter writer ) : Common.System
MoveFile ( TorrentManager manager, TorrentFile file, string path ) : void
MoveFiles ( TorrentManager manager, string newRoot, bool overWriteExisting ) : void
PerformRead ( BufferedIO io ) : void
PerformWrite ( BufferedIO io ) : void
QueueFlush ( TorrentManager manager, int index ) : void
QueueRead ( BufferedIO io, DiskIOCallback callback ) : void
QueueRead ( TorrentManager manager, long offset, byte buffer, int count, DiskIOCallback callback ) : void
QueueWrite ( BufferedIO io, DiskIOCallback callback ) : void
QueueWrite ( TorrentManager manager, long offset, byte buffer, int count, DiskIOCallback callback ) : void
SetError ( TorrentManager manager, Reason reason, Exception ex ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Flush() public method

public Flush ( TorrentManager manager ) : void
manager TorrentManager
return void