@@ -72,7 +72,7 @@ defaultSourceHints = SourceHints
7272-- end. Connections between other sources the target end remain unaffected
7373data SourceEnd = SourceEnd
7474 { send :: [ByteString] -> IO ()
75− , close :: IO ()
75+ , closeSourceEnd :: IO ()
7676 }
7777
7878-- | A `TargetEnd` provides a `receive` function that allows messages
@@ -81,7 +81,7 @@ data SourceEnd = SourceEnd
8181-- and all new connections will be refused.
8282data TargetEnd = TargetEnd
8383 { receive :: IO [ByteString]
84− , closeAll :: IO ()
84+ , closeTargetEnd :: IO ()
8585 }
8686
8787newtype MulticastSourceEnd = MulticastSourceEnd