Safe Haskell | None |
---|
Documentation
rpcCall :: Name -> Q ExpSource
$(
simply splices in
rpcCall
'serviceNm)
which is typed in a manner
similar to typeofcall.
realRemoteCall
(undefined :: typeofcall) "serviceNm"
makeHost :: String -> String -> Integer -> Q [Dec]Source
$(
makes a makeHost
"HostName" "hostLocation" hostPortNumber)newtype HostName
and declares an instance
.
Host
HostName
makeServices :: [Name] -> Q ExpSource
$(
makes all given
services listen for incoming requests.
makeServices
['service1 ,..., 'serviceN])
autoService :: Name -> Q ExpSource
$(
finds all services declared in the
module that definitely run on the given world,
and makes them listen for incoming requests.
autoService
'World)