NAME

Net::BitTorrent::Tracker::Base - Base class for BitTorrent tracker clients

DESCRIPTION

Net::BitTorrent::Tracker::Base is the abstract base class for all tracker implementation types (HTTP, UDP, WebSeed, etc.).

It defines the interface that all tracker clients must implement to provide announcing and scraping functionality to the Net::BitTorrent client.

PARAMS

url

The full URL of the tracker (read only).

METHODS

perform_announce ( $params, [ $cb ] )

Abstract method. Implementation should request a list of peers from the tracker.

perform_scrape ( $infohashes, [ $cb ])

Abstract method. Implementation should request metadata statistics (seeders, leechers, completed) for the given info hashes.

SEE ALSO

Net::BitTorrent::Tracker::HTTP, Net::BitTorrent::Tracker::UDP

AUTHOR

Sanko Robinson <sanko@cpan.org>

COPYRIGHT

Copyright (C) 2008-2026 by Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.