Safe Haskell | None |
---|---|
Language | Haskell2010 |
- serverDefinition :: Bool -> Timeout -> ProcessDefinition Connection
- initServer :: InitHandler (Connection, DatabaseName, Maybe (MVar EndPointAddress), EndPointAddress) Connection
- registerDB :: DatabaseName -> Process ()
- loggingNotificationCallback :: NotificationCallback
- launchServer :: ServerConfig -> Maybe (MVar EndPointAddress) -> IO Bool
Documentation
initServer :: InitHandler (Connection, DatabaseName, Maybe (MVar EndPointAddress), EndPointAddress) Connection Source #
registerDB :: DatabaseName -> Process () Source #
loggingNotificationCallback :: NotificationCallback Source #
A notification callback which logs the notification to stderr and does nothing else.
launchServer :: ServerConfig -> Maybe (MVar EndPointAddress) -> IO Bool Source #
A synchronous function to start the project-m36 daemon given an appropriate ServerConfig
. Note that this function only returns if the server exits. Returns False if the daemon exited due to an error. If the second argument is not Nothing, the port is put after the server is ready to service the port.