Module "CPNS.curry"

Implementation of a Curry Port Name Server based on raw sockets. It is used to implement the library Ports for distributed programming with ports.

Author: Michael Hanus

Version: April 2007


 Exported names:

Functions:
cpnsAlive | getPortInfo | registerPort | unregisterPort


 Summary of exported functions:

registerPort  :: String -> Int -> Int -> IO ()  deterministic 
          Registers a symbolic port at the local host.
getPortInfo  :: String -> String -> IO (Int,Int)  deterministic 
          Gets the information about a symbolic port at some host.
unregisterPort  :: String -> IO ()  deterministic 
          Unregisters a symbolic port at the local host.
cpnsAlive  :: Int -> String -> IO Bool  deterministic 
          Tests whether the CPNS demon at a host is alive.

 Imported modules:

Char
Distribution
IO
List
Prelude
Profile
ReadShowTerm
Socket
System
Time

 Exported datatypes:


 Exported functions:

registerPort :: String -> Int -> Int -> IO ()  deterministic 

Registers a symbolic port at the local host.


getPortInfo :: String -> String -> IO (Int,Int)  deterministic 

Gets the information about a symbolic port at some host.


unregisterPort :: String -> IO ()  deterministic 

Unregisters a symbolic port at the local host.


cpnsAlive :: Int -> String -> IO Bool  deterministic 

Tests whether the CPNS demon at a host is alive.



Generated by CurryDoc (Version 0.4.1 of June 7, 2007) at Nov 9 18:03:30 2009