[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Filenames, directories, and Channels
> > Date: Thu, 22 May 97 06:54:21 EDT
> > From: Mike Griebling <grieblm@trt.allied.com>
> >
> > Does ooc currently support generalized filenames and
> > directories? This just came up because I was considering
> > the creation of a file requester which would display files
> > in a directory and allow traversal of upper/lower directories
> > in a directory tree.
>
> No. I brought up the topic of a locator data type, but there wasn't
> enough interest to get it done.
Ok, what would be the Posix-friendly way of:
1) Creating a new directory
2) Traversing the directory tree
3) Obtaining a list of all the files/directories in a given directory
> > A separate question has to do with Channels and how one
> > would practically connect them together to get say a
> > compressed binary file. I am considering writing some
> > compression and encryption channels but am not sure how
> > they would fit in the general channel/file framework.
>
> This would be implemented as a channel that can be connected to
> another channel. You might call it a piggyback channel. To use such
> a thing you'ld first get an instance of the low-level channel, then
> create the encryption channel and connect it to the low-level one, and
> finally put a rider on the intermediate channel.
By intermediate channel, I assume you mean the encryption channel.
How is the encryption channel "connected" to the low-level channel?
Is it by inheriting the low-level channel? or is this a composite of
the low-level channel and the encryption channel?
Michael G.