Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
type ClientState = [Connection] Source
getClockIp :: IO String Source
getServerPort :: IO Int Source
logicalTime :: Tempo -> Double -> Double Source
addClient :: Connection -> ClientState -> ClientState Source
removeClient :: Connection -> ClientState -> ClientState Source
broadcast :: Text -> ClientState -> IO () Source
serverLoop :: Connection -> MVar Tempo -> MVar ClientState -> IO () Source