C# Class OctoTorrent.Tracker.Listeners.ListenerBase

显示文件 Open project: Eskat0n/OctoTorrent

Private Properties

Property Type Description
ParseQuery System.Collections.Specialized.NameValueCollection
RaiseAnnounceReceived void
RaiseScrapeReceived void

Public Methods

Method Description
Handle ( NameValueCollection collection, IPAddress remoteAddress, bool isScrape ) : BEncodedDictionary
Handle ( string queryString, IPAddress remoteAddress, bool isScrape ) : BEncodedDictionary
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
ParseQuery ( string url ) : NameValueCollection
RaiseAnnounceReceived ( AnnounceParameters e ) : void
RaiseScrapeReceived ( ScrapeParameters e ) : void

Method Details

Handle() public method

public Handle ( NameValueCollection collection, IPAddress remoteAddress, bool isScrape ) : BEncodedDictionary
collection System.Collections.Specialized.NameValueCollection
remoteAddress System.Net.IPAddress
isScrape bool
return BEncodedDictionary

Handle() public method

public Handle ( string queryString, IPAddress remoteAddress, bool isScrape ) : BEncodedDictionary
queryString string
remoteAddress System.Net.IPAddress
isScrape bool
return BEncodedDictionary

Start() public abstract method

public abstract Start ( ) : void
return void

Stop() public abstract method

public abstract Stop ( ) : void
return void