File 'net/ns/client.tcl' (part of 'Pool_Net')
Home | Packages | Files | Procedures | Classes | Keywords | External packages
- Written by
- Andreas Kupries
- Description
- Clientside of mini nameserver / registry system. It is built on top of the Comm package by John R. LoVerso.
- Depends on
- Tcl, Comm
- Keywords
- nameserver, registry, application registry
::pool::nameserver::Clean () |
This procedure is hooked into 'exit' to perform automatic revokation upon exit. See ::pool::atexit::add too. It is not foolproof, as signals are not trapped. |
::pool::nameserver::lookup (pattern) |
Queries the name server for registered applications matching the pattern. |
Argument: pattern (= *) | glob-style pattern to use during search. |
Returns: A list usable by 'array set'. Application names are mapped to ids usable by 'comm'. |
::pool::nameserver::register (as) |
Registers the running application at the name server under the name of as. The name is remembered internally, for use by ::pool::nameserver::revoke. |
Argument: as | Name to use for registration. |
::pool::nameserver::revoke () |
Removes the application from the name server. |
::pool::nameserver::revokeOther (name) |
Removes the application from the name server. |
Argument: name | The name of the application to remove from the nameserver. |
Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries