C# Class OctoTorrent.SampleClient.EngineTestRig

Datei anzeigen Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method Description
AddConnection ( IConnection connection ) : void
EngineTestRig ( string savePath, PieceWriter writer ) : Common.System
EngineTestRig ( string savePath, int piecelength = 256*1024, PieceWriter writer = null ) : Common.System

Private Methods

Method Description
CreateTorrent ( int pieceLength ) : BEncodedDictionary
EngineTestRig ( ) : Common.System

Method Details

AddConnection() public method

public AddConnection ( IConnection connection ) : void
connection IConnection
return void

EngineTestRig() public method

public EngineTestRig ( string savePath, PieceWriter writer ) : Common.System
savePath string
writer PieceWriter
return Common.System

EngineTestRig() public method

public EngineTestRig ( string savePath, int piecelength = 256*1024, PieceWriter writer = null ) : Common.System
savePath string
piecelength int
writer PieceWriter
return Common.System