Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newPeerFromBeacon :: MonadIO m => Address -> Port -> UTCTime -> UUID -> TVar ZREState -> STM (TVar Peer, Maybe (m a), Maybe (IO b)) Source #
newPeerFromHello :: MonadIO m => ZRECmd -> UTCTime -> UUID -> TVar ZREState -> STM (TVar Peer, Maybe (m a), Maybe (IO b)) Source #
newPeerFromEndpoint :: MonadIO m => Endpoint -> UTCTime -> UUID -> TVar ZREState -> STM (TVar Peer, Maybe (m a), Maybe (IO b)) Source #
makePeer :: TVar ZREState -> UUID -> (UTCTime -> UUID -> TVar ZREState -> STM (TVar Peer, Maybe (IO ()), Maybe (IO ()))) -> IO (TVar Peer) Source #
printPeer :: Peer -> ByteString Source #
shoutGroup :: TVar ZREState -> Group -> ByteString -> STM () Source #
whisperPeerUUID :: TVar ZREState -> UUID -> ByteString -> STM () Source #