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

Portabilityportable
Stabilityexperimental
MaintainerStefan Schmidt (stefanschmidt@web.de)

Holumbus.Network.PortRegistry.PortRegistryPort

Contents

Description

Version : 0.1

This module contains the Interface for external access to the PortRegistry.

Synopsis

Datatypes

data PortRegistryPort Source

The datatype for the PortRegistry remote interface.

Creation

newPortRegistryPort :: PortRegistryRequestPort -> PortRegistryPortSource

Creates a new PortRegistryPort from a port-object.

newPortRegistryFromData :: StreamName -> SocketId -> IO PortRegistryPortSource

Creates a new PortRegistryPort from the StreamName and SocketId.

newPortRegistryFromXmlFile :: FilePath -> IO PortRegistryPortSource

Creates a new PortRegistryPort from a XML-File.

reexport

setPortRegistry :: PortRegistry r => r -> IO ()Source

Sets the link to the PortRegistry in the stream controller