Holumbus-Distribution-0.0.1: intra- and inter-program communicationSource codeContentsIndex
Holumbus.Network.PortRegistry.PortRegistryData
Portabilityportable
Stabilityexperimental
MaintainerStefan Schmidt (stefanschmidt@web.de)
Contents
Datatypes
Creation and Destruction
reexport
Description

Version : 0.1

This module contains the main datatype for the PortRegistry.

Synopsis
data PortRegistryData
newPortRegistryData :: StreamName -> Maybe PortNumber -> IO PortRegistryData
closePortRegistryData :: PortRegistryData -> IO ()
getPortRegistryRequestPort :: PortRegistryData -> IO PortRegistryRequestPort
setPortRegistry :: PortRegistry r => r -> IO ()
Datatypes
data PortRegistryData Source
The data needed by the PortRegistry
show/hide Instances
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
Produced by Haddock version 2.4.2