Portability | portable |
---|---|
Stability | experimental |
Maintainer | Stefan Schmidt (stefanschmidt@web.de) |
Version : 0.1
This module contains the main datatype for the PortRegistry.
Datatypes
Creation and Destruction
newPortRegistryData :: StreamName -> Maybe PortNumber -> IO PortRegistryDataSource
Creates a new PortRegistry.
closePortRegistryData :: PortRegistryData -> IO ()Source
Closes the PortRegistry with its streams and threads.
getPortRegistryRequestPort :: PortRegistryData -> IO PortRegistryRequestPortSource
Get the RequestPort of the PortRegistry. It can be used to give access to the PortRegistry, eg. you can serialize this information and transfer it over the network to grant access to the clients.
reexport
setPortRegistry :: PortRegistry r => r -> IO ()Source
Sets the link to the PortRegistry in the stream controller