C# Class Universal.Torrent.Dht.Tasks.GetPeersTask

Inheritance: Task
Exibir arquivo Open project: haroldma/Universal.Torrent Class Usage Examples

Private Properties

Property Type Description
GetPeersCompleted void
SendGetPeers void

Public Methods

Method Description
Execute ( ) : void
GetPeersTask ( DhtEngine engine, InfoHash infohash ) : System.Collections.Generic
GetPeersTask ( DhtEngine engine, NodeId infohash ) : System.Collections.Generic

Protected Methods

Method Description
RaiseComplete ( TaskCompleteEventArgs e ) : void

Private Methods

Method Description
GetPeersCompleted ( object o, TaskCompleteEventArgs e ) : void
SendGetPeers ( Node n ) : void

Method Details

Execute() public method

public Execute ( ) : void
return void

GetPeersTask() public method

public GetPeersTask ( DhtEngine engine, InfoHash infohash ) : System.Collections.Generic
engine DhtEngine
infohash InfoHash
return System.Collections.Generic

GetPeersTask() public method

public GetPeersTask ( DhtEngine engine, NodeId infohash ) : System.Collections.Generic
engine DhtEngine
infohash NodeId
return System.Collections.Generic

RaiseComplete() protected method

protected RaiseComplete ( TaskCompleteEventArgs e ) : void
e Universal.Torrent.Dht.EventArgs.TaskCompleteEventArgs
return void