project-m36-0.7: Relational Algebra Engine

Safe HaskellNone
LanguageHaskell2010

ProjectM36.Server

Synopsis

Documentation

serverDefinition :: Bool -> Timeout -> ProcessDefinition Connection Source #

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.