C# 클래스 OctoTorrent.Common.TorrentCreator

상속: EditableTorrent
파일 보기 프로젝트 열기: Eskat0n/OctoTorrent 1 사용 예제들

공개 메소드들

메소드 설명
AbortCreation ( ) : void
BeginCreate ( ITorrentFileSource fileSource, AsyncCallback callback, object asyncState ) : IAsyncResult
Create ( ITorrentFileSource fileSource ) : BEncodedDictionary
Create ( ITorrentFileSource fileSource, Stream stream ) : void
Create ( ITorrentFileSource fileSource, string savePath ) : void
EndCreate ( IAsyncResult result ) : BEncodedDictionary
EndCreate ( IAsyncResult result, Stream stream ) : void
EndCreate ( IAsyncResult result, string path ) : void
RecommendedPieceSize ( IEnumerable files ) : int
RecommendedPieceSize ( IEnumerable files ) : int
RecommendedPieceSize ( IEnumerable files ) : int
RecommendedPieceSize ( long totalSize ) : int
TorrentCreator ( ) : System

보호된 메소드들

메소드 설명
CreateReader ( ) : OctoTorrent.Client.PieceWriters.PieceWriter

비공개 메소드들

메소드 설명
AddCommonStuff ( BEncodedDictionary torrent ) : void
BeginCreate ( MainLoopJob task, AsyncCallback callback, object asyncState ) : IAsyncResult
CalcPiecesHash ( List files, OctoTorrent.Client.PieceWriters.PieceWriter writer ) : byte[]
Create ( string name, List files ) : BEncodedDictionary
CreateMultiFileTorrent ( BEncodedDictionary dictionary, List mappings, OctoTorrent.Client.PieceWriters.PieceWriter writer, string name ) : void
CreateSingleFileTorrent ( BEncodedDictionary dictionary, List mappings, OctoTorrent.Client.PieceWriters.PieceWriter writer, string name ) : void
RaiseHashed ( TorrentCreatorEventArgs e ) : void
ToFileInfoDict ( TorrentFile file ) : BEncodedValue
ToTorrentFile ( OctoTorrent.Common.FileMapping mapping ) : TorrentFile
Validate ( IList maps ) : void

메소드 상세

AbortCreation() 공개 메소드

public AbortCreation ( ) : void
리턴 void

BeginCreate() 공개 메소드

public BeginCreate ( ITorrentFileSource fileSource, AsyncCallback callback, object asyncState ) : IAsyncResult
fileSource ITorrentFileSource
callback AsyncCallback
asyncState object
리턴 IAsyncResult

Create() 공개 메소드

public Create ( ITorrentFileSource fileSource ) : BEncodedDictionary
fileSource ITorrentFileSource
리턴 BEncodedDictionary

Create() 공개 메소드

public Create ( ITorrentFileSource fileSource, Stream stream ) : void
fileSource ITorrentFileSource
stream Stream
리턴 void

Create() 공개 메소드

public Create ( ITorrentFileSource fileSource, string savePath ) : void
fileSource ITorrentFileSource
savePath string
리턴 void

CreateReader() 보호된 메소드

protected CreateReader ( ) : OctoTorrent.Client.PieceWriters.PieceWriter
리턴 OctoTorrent.Client.PieceWriters.PieceWriter

EndCreate() 공개 메소드

public EndCreate ( IAsyncResult result ) : BEncodedDictionary
result IAsyncResult
리턴 BEncodedDictionary

EndCreate() 공개 메소드

public EndCreate ( IAsyncResult result, Stream stream ) : void
result IAsyncResult
stream Stream
리턴 void

EndCreate() 공개 메소드

public EndCreate ( IAsyncResult result, string path ) : void
result IAsyncResult
path string
리턴 void

RecommendedPieceSize() 공개 정적인 메소드

public static RecommendedPieceSize ( IEnumerable files ) : int
files IEnumerable
리턴 int

RecommendedPieceSize() 공개 정적인 메소드

public static RecommendedPieceSize ( IEnumerable files ) : int
files IEnumerable
리턴 int

RecommendedPieceSize() 공개 정적인 메소드

public static RecommendedPieceSize ( IEnumerable files ) : int
files IEnumerable
리턴 int

RecommendedPieceSize() 공개 정적인 메소드

public static RecommendedPieceSize ( long totalSize ) : int
totalSize long
리턴 int

TorrentCreator() 공개 메소드

public TorrentCreator ( ) : System
리턴 System