C# Class Universal.Torrent.Client.Modes.DownloadMode

Inheritance: Mode
Show file Open project: haroldma/Universal.Torrent

Public Methods

Method Description
DownloadMode ( TorrentManager manager ) : System.Linq
HandlePeerConnected ( PeerId id, Direction direction ) : void
ShouldConnect ( Peer peer ) : bool
Tick ( int counter ) : void

Method Details

DownloadMode() public method

public DownloadMode ( TorrentManager manager ) : System.Linq
manager TorrentManager
return System.Linq

HandlePeerConnected() public method

public HandlePeerConnected ( PeerId id, Direction direction ) : void
id Universal.Torrent.Client.PeerConnections.PeerId
direction Direction
return void

ShouldConnect() public method

public ShouldConnect ( Peer peer ) : bool
peer Peer
return bool

Tick() public method

public Tick ( int counter ) : void
counter int
return void