Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type ClientState = [TConnection] Source #
wsConn :: TConnection -> Connection Source #
getLatency :: IO Double Source #
getClockIp :: IO String Source #
getServerPort :: IO Int Source #
removeClient :: TConnection -> ClientState -> ClientState Source #
startServer :: IO ThreadId Source #
serverLoop :: TConnection -> MVar Tempo -> MVar ClientState -> IO () Source #