C# Class Universal.Torrent.Client.DiskManager

Inheritance: IDisposable
ファイルを表示 Open project: haroldma/Universal.Torrent Class Usage Examples

Private Properties

Property Type Description
BeginGetHash void
CheckAnyFilesExist bool
CheckFileExists bool
CloseFileStreams System.Threading.WaitHandle
DiskManager 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 ) : System
MoveFile ( TorrentManager manager, TorrentFile file, StorageFolder path ) : void
MoveFiles ( TorrentManager manager, StorageFolder 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