diff options
author | joe <joe@jerkface.net> | 2017-06-08 13:27:32 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-06-08 13:27:32 -0400 |
commit | 3202734fa9a0bd72c8c91279c83a4674432c4f11 (patch) | |
tree | 5e7e9dc70132d695b8c26e4e07e574c0860cec74 /src/Network/BitTorrent | |
parent | 33db41f8f2c80172aaf6914bd2900b564bb8b82a (diff) |
Renamed Network.KRPC to Network.DatagramServer
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r-- | src/Network/BitTorrent/DHT/Message.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Query.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Session.hs | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/Network/BitTorrent/DHT/Message.hs b/src/Network/BitTorrent/DHT/Message.hs index c99c72bb..706d181a 100644 --- a/src/Network/BitTorrent/DHT/Message.hs +++ b/src/Network/BitTorrent/DHT/Message.hs | |||
@@ -107,14 +107,14 @@ import Data.Monoid | |||
107 | import Data.Serialize as S | 107 | import Data.Serialize as S |
108 | import Data.Typeable | 108 | import Data.Typeable |
109 | import Network | 109 | import Network |
110 | import Network.KRPC | 110 | import Network.DatagramServer |
111 | import Network.KRPC.Message (KMessageOf) | 111 | import Network.KRPC.Message (KMessageOf) |
112 | import Data.Maybe | 112 | import Data.Maybe |
113 | 113 | ||
114 | import Data.Torrent (InfoHash) | 114 | import Data.Torrent (InfoHash) |
115 | import Network.BitTorrent.DHT.Token | 115 | import Network.BitTorrent.DHT.Token |
116 | #ifdef VERSION_bencoding | 116 | #ifdef VERSION_bencoding |
117 | import Network.KRPC () | 117 | import Network.DatagramServer () |
118 | import Network.DHT.Mainline () | 118 | import Network.DHT.Mainline () |
119 | #endif | 119 | #endif |
120 | import Network.RPC hiding (Query,Response) | 120 | import Network.RPC hiding (Query,Response) |
diff --git a/src/Network/BitTorrent/DHT/Query.hs b/src/Network/BitTorrent/DHT/Query.hs index a872fc72..0219adfa 100644 --- a/src/Network/BitTorrent/DHT/Query.hs +++ b/src/Network/BitTorrent/DHT/Query.hs | |||
@@ -81,9 +81,9 @@ import Text.PrettyPrint.HughesPJClass hiding ((<>),($$)) | |||
81 | import Data.Time | 81 | import Data.Time |
82 | import Data.Time.Clock.POSIX | 82 | import Data.Time.Clock.POSIX |
83 | 83 | ||
84 | import Network.KRPC as KRPC hiding (Options, def) | 84 | import Network.DatagramServer as KRPC hiding (Options, def) |
85 | import Network.KRPC.Message (ReflectedIP(..)) | 85 | import Network.KRPC.Message (ReflectedIP(..)) |
86 | import Network.KRPC (QueryFailure(..)) | 86 | import Network.DatagramServer (QueryFailure(..)) |
87 | import Data.Torrent | 87 | import Data.Torrent |
88 | import Network.BitTorrent.DHT.Message | 88 | import Network.BitTorrent.DHT.Message |
89 | import Network.BitTorrent.DHT.Routing as R | 89 | import Network.BitTorrent.DHT.Routing as R |
diff --git a/src/Network/BitTorrent/DHT/Session.hs b/src/Network/BitTorrent/DHT/Session.hs index bec2dabc..0800f147 100644 --- a/src/Network/BitTorrent/DHT/Session.hs +++ b/src/Network/BitTorrent/DHT/Session.hs | |||
@@ -104,8 +104,8 @@ import Data.Serialize as S | |||
104 | 104 | ||
105 | 105 | ||
106 | import Data.Torrent as Torrent | 106 | import Data.Torrent as Torrent |
107 | import Network.KRPC as KRPC hiding (Options, def) | 107 | import Network.DatagramServer as KRPC hiding (Options, def) |
108 | import qualified Network.KRPC as KRPC (def) | 108 | import qualified Network.DatagramServer as KRPC (def) |
109 | #ifdef VERSION_bencoding | 109 | #ifdef VERSION_bencoding |
110 | import Data.BEncode (BValue) | 110 | import Data.BEncode (BValue) |
111 | import Network.KRPC.Message (KMessageOf) | 111 | import Network.KRPC.Message (KMessageOf) |