summaryrefslogtreecommitdiff
path: root/bittorrent/src/Network/BitTorrent/Tracker.hs
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2019-09-28 13:43:29 -0400
committerJoe Crayne <joe@jerkface.net>2020-01-01 19:27:53 -0500
commit11987749fc6e6d3e53ea737d46d5ab13a16faeb8 (patch)
tree5716463275c2d3e902889db619908ded2a73971c /bittorrent/src/Network/BitTorrent/Tracker.hs
parentadd2c76bced51fde5e9917e7449ef52be70faf87 (diff)
Factor out some new libraries
word64-map: Data.Word64Map network-addr: Network.Address tox-crypto: Crypto.Tox lifted-concurrent: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument psq-wrap: Data.Wrapper.PSQInt Data.Wrapper.PSQ minmax-psq: Data.MinMaxPSQ tasks: Control.Concurrent.Tasks kad: Network.Kademlia Network.Kademlia.Bootstrap Network.Kademlia.Routing Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.Kademlia.Search
Diffstat (limited to 'bittorrent/src/Network/BitTorrent/Tracker.hs')
-rw-r--r--bittorrent/src/Network/BitTorrent/Tracker.hs51
1 files changed, 0 insertions, 51 deletions
diff --git a/bittorrent/src/Network/BitTorrent/Tracker.hs b/bittorrent/src/Network/BitTorrent/Tracker.hs
deleted file mode 100644
index 1191f921..00000000
--- a/bittorrent/src/Network/BitTorrent/Tracker.hs
+++ /dev/null
@@ -1,51 +0,0 @@
1-- |
2-- Copyright : (c) Sam Truzjan 2013
3-- License : BSD3
4-- Maintainer : pxqr.sta@gmail.com
5-- Stability : experimental
6-- Portability : non-portable
7--
8-- This module provides high level API for peer -> tracker
9-- communication. Tracker is used to discover other peers in the
10-- network using torrent info hash.
11--
12{-# LANGUAGE TemplateHaskell #-}
13module Network.BitTorrent.Tracker
14 ( -- * RPC Manager
15 PeerInfo (..)
16 , Options
17 , Manager
18 , newManager
19 , closeManager
20 , withManager
21
22 -- * Multitracker session
23 , trackerList
24 , Session
25 , Event (..)
26 , trackers
27 , newSession
28 , closeSession
29 , withSession
30
31 -- ** Events
32 , AnnounceEvent (..)
33 , notify
34 , askPeers
35
36 -- ** Session state
37 , TrackerSession
38 , trackerPeers
39 , trackerScrape
40
41 , tryTakeData
42 , unsafeTryTakeData
43
44 , getSessionState
45 ) where
46
47import Network.BitTorrent.Internal.Cache (tryTakeData, unsafeTryTakeData)
48import Network.BitTorrent.Tracker.Message
49import Network.BitTorrent.Tracker.List
50import Network.BitTorrent.Tracker.RPC
51import Network.BitTorrent.Tracker.Session