[squeak-dev] Xtreams file handles

Colin Putney colin at wiresong.com
Mon Aug 15 07:30:12 UTC 2011

On Sun, Aug 14, 2011 at 11:54 AM,  <mkobetic at gmail.com> wrote:
> "Colin Putney"<colin at wiresong.com> wrote:
>> I've been working on integrating Filesystem and Xtreams, and I'm a bit
>> puzzled by the XTExternalResourceHandle hierarchy. In particular, I
>> can't figure out why XTIOHandle exists. It seems to have functionality
>> needed by XTIOSocketHandle, plus some indirection for hiding which
>> classes are used for file or socket handles, even though there's only
>> one choice for either of those. I'm guessing this has to do with the
>> need for Xtreams-Terminals to be VW-compatible, and that this
>> hierarchy is needed on VW.
> Actually the Terminals were meant to be dialect specific. It just worked out that way that most of the VW ones were fairly compatible with Squeak. So if we can keep them close, that certainly can help with maintenance going forward, but it's by no means a hard requirement.

Oh, of course. The "proper" way to do it would be to write a new
terminal stream for each kind of filesystem. I'll try it that way and
see how it goes.


More information about the Squeak-dev mailing list