class QuartzTorrent::TrackerDriver

Low-level interface to trackers. TrackerClient uses an instance of a subclass of this to talk to trackers using different protocols.

Attributes

dynamicRequestParamsBuilder[RW]

This should be set to a Proc that when called will return a TrackerDynamicRequestParams object with up-to-date information.

peerId[RW]
port[RW]

Public Class Methods

new(dataLength = 0) click to toggle source
# File lib/quartz_torrent/trackerclient.rb, line 112
def initialize(dataLength = 0)
  @dynamicRequestParamsBuilder = Proc.new{ TrackerDynamicRequestParams.new(dataLength) }
end

Public Instance Methods

request(event = nil) click to toggle source
# File lib/quartz_torrent/trackerclient.rb, line 122
def request(event = nil)
  raise "Implement me"
end