|
Holumbus.Network.PortRegistry | Portability | portable | Stability | experimental | Maintainer | Stefan Schmidt (stefanschmidt@web.de) |
|
|
|
|
|
Description |
Version : 0.1
The typeclass for the PortRegistry. Contains all PortRegistry functions which
can accessed remotely by the clients.
|
|
Synopsis |
|
|
|
|
Type-Classes
|
|
class PortRegistry pr where | Source |
|
The Interface of the PortRegistry.
| | Methods | | Creates a new port entry in the registry.
| | | Deletes an entry from the registry.
| | | Get the socket of the port by its name.
| | | Get a list of all registered ports.
|
| | Instances | |
|
|
GenericRegistry
|
|
|
The generic registry object.
This is a wrapper around an PortRegistryData or PortRegistryPort object.
With this additional indirection, we eliminate the distinction between
the port or the data object in the datatypes using the PortRegistry.
Therefore it is easier to get access to the registry and the code gets
more readable.
This might be a good example of hiding network-access. To the caller it
makes no difference, if the PortRegistry is in the same address space of
on another computer in the network.
| Instances | |
|
|
|
Creates a new generic PortRegistry.
|
|
Produced by Haddock version 2.6.1 |