[squeak-dev] Xtreams file handles

mkobetic at gmail.com mkobetic at gmail.com
Sun Aug 14 18:54:16 UTC 2011


"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.

Martin



More information about the Squeak-dev mailing list