tcl::chan::facade - Facade channel
The tcl::chan::facade package provides a command creating facades to other channels. These are channels which own a single subordinate channel and delegate all operations to.
The main use for facades is the debugging of actions on a channel. While most of the information could be tracked by a virtual channel transformation it does not have access to the event-related operation, and furthermore they are only available in Tcl 8.6.
Therefore this channel, usable with Tcl 8.5, and having access to everything going on for a channel.
The intercepted actions on channel are logged through package logger.
Beyond that facades provide the following additional channel configuration options:
Of these only option -user is writable.
This command creates the facade channel around the provided channel chan, and returns its handle.
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category virtchannel of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.
Channels
Copyright © 2011 Andreas Kupries <andreas_kupries@users.sourceforge.net>