Holumbus-Distribution-0.1.1: intra- and inter-program communication

Portabilityportable
Stabilityexperimental
MaintainerStefan Schmidt (stefanschmidt@web.de)

Holumbus.Network.PortRegistry.PortRegistryData

Contents

Description

Version : 0.1

This module contains the main datatype for the PortRegistry.

Synopsis

Datatypes

data PortRegistryData Source

The data needed by the PortRegistry

Creation and Destruction

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