Safe Haskell | Safe-Infered |
---|
Configuration server for the metadata daemon.
- updateConfig :: MVar InstanceParams -> String -> IO ()
- acceptConfig :: MVar InstanceParams -> Client -> IO ()
- acceptClients :: MVar InstanceParams -> Server -> IO ()
- start :: DaemonOptions -> MVar InstanceParams -> IO ()
Documentation
updateConfig :: MVar InstanceParams -> String -> IO ()Source
Update the configuration with the received instance parameters.
acceptConfig :: MVar InstanceParams -> Client -> IO ()Source
Reads messages from clients and update the configuration according to these messages.
acceptClients :: MVar InstanceParams -> Server -> IO ()Source
Loop that accepts clients and dispatches them to an isolated thread that will handle the client's requests.
start :: DaemonOptions -> MVar InstanceParams -> IO ()Source