Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- noConfusionNode :: Transport -> [MVar MulticastAddress] -> [MVar ()] -> Int -> [ByteString] -> MVar () -> IO ()
- testNoConfusion :: Transport -> Int -> IO ()
- testMulticast :: Transport -> IO ()
Documentation
:: Transport | Transport |
-> [MVar MulticastAddress] | my group : groups to subscribe to |
-> [MVar ()] | I'm ready : others ready |
-> Int | number of pings |
-> [ByteString] | my message : messages from subscribed groups (same order as 'groups to subscribe to') |
-> MVar () | I'm done |
-> IO () |
Node for the "No confusion" test
testNoConfusion :: Transport -> Int -> IO () Source #
Test that distinct multicast groups are not confused
testMulticast :: Transport -> IO () Source #
Test multicast