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 #
getMasterPort :: IO Int Source #
getSlavePort :: IO Int Source #
removeClient :: TConnection -> ClientState -> ClientState Source #
startServer :: IO ThreadId Source #
serverApp :: MVar Tempo -> MVar ServerMode -> MVar ClientState -> ServerApp Source #
slave :: MVar ServerMode -> MVar ClientState -> IO () Source #
slaveAct :: String -> MVar ServerMode -> MVar ClientState -> Message -> IO () Source #
serverLoop :: TConnection -> MVar Tempo -> MVar ServerMode -> MVar ClientState -> IO () Source #
serverAct :: String -> ServerMode -> MVar Tempo -> MVar ClientState -> IO () Source #
setCps :: Double -> ServerMode -> MVar Tempo -> MVar ClientState -> IO () Source #
setNudge :: Double -> ServerMode -> MVar Tempo -> MVar ClientState -> IO () Source #