C# Class OctoTorrent.Client.PieceWriters.DiskWriter

Inheritance: OctoTorrent.Client.PieceWriters.PieceWriter
Mostra file Open project: Eskat0n/OctoTorrent

Public Methods

Method Description
Close ( TorrentFile file ) : void
DiskWriter ( ) : Common.System
DiskWriter ( int maxOpenFiles ) : Common.System
Dispose ( ) : void
Exists ( TorrentFile file ) : bool
Flush ( TorrentFile file ) : void
Move ( string oldPath, string newPath, bool ignoreExisting ) : void
Read ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : int
Write ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : void

Private Methods

Method Description
GetStream ( TorrentFile file, FileAccess access ) : TorrentFileStream

Method Details

Close() public method

public Close ( TorrentFile file ) : void
file TorrentFile
return void

DiskWriter() public method

public DiskWriter ( ) : Common.System
return Common.System

DiskWriter() public method

public DiskWriter ( int maxOpenFiles ) : Common.System
maxOpenFiles int
return Common.System

Dispose() public method

public Dispose ( ) : void
return void

Exists() public method

public Exists ( TorrentFile file ) : bool
file TorrentFile
return bool

Flush() public method

public Flush ( TorrentFile file ) : void
file TorrentFile
return void

Move() public method

public Move ( string oldPath, string newPath, bool ignoreExisting ) : void
oldPath string
newPath string
ignoreExisting bool
return void

Read() public method

public Read ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : int
file TorrentFile
offset long
buffer byte
bufferOffset int
count int
return int

Write() public method

public Write ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : void
file TorrentFile
offset long
buffer byte
bufferOffset int
count int
return void