C# Class Universal.Torrent.Client.PieceWriter.DiskWriter

Inheritance: PieceWriter
Mostrar archivo Open project: haroldma/Universal.Torrent

Public Methods

Method Description
CancelOperations ( TorrentFile file ) : void
Close ( TorrentFile file ) : void
DiskWriter ( ) : System
DiskWriter ( int maxOpenFiles ) : System
Dispose ( ) : void
Exists ( TorrentFile file ) : bool
Flush ( TorrentFile file ) : void
Move ( TorrentFile file, StorageFolder newRoot, 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, FileAccessMode access ) : TorrentFileStream
InternalExists ( TorrentFile file ) : bool

Method Details

CancelOperations() public method

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

Close() public method

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

DiskWriter() public method

public DiskWriter ( ) : System
return System

DiskWriter() public method

public DiskWriter ( int maxOpenFiles ) : System
maxOpenFiles int
return 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 ( TorrentFile file, StorageFolder newRoot, bool ignoreExisting ) : void
file TorrentFile
newRoot StorageFolder
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