[ENH] StreamingSocket

David T. Lewis lewis at mail.msen.com
Tue May 16 02:25:55 UTC 2000


On Mon, May 15, 2000 at 06:04:46AM -0700, Göran Hultgren wrote:
> Just a note:
> 
> Have you seen Craig Latta's Correspondents?
> 
> http://www.netjam.org/self/projects/smalltalk/
> 
> cheers, G?ran
> 
> --- "David T. Lewis" <lewis at mail.msen.com> wrote:
> > On Fri, May 12, 2000 at 07:26:00PM +0200, Stefan Matthias Aust wrote:

<snip>

> > > Comments?
> > 
> > I think you are right. Long term, I would also suggest some refactoring
> > of the FileStream and Socket stuff such that:
> > 
> > - Streams and protocols are not directly responsible for external I/O.
> > - Some other class hierarchy owns resposibility for all external I/O
> >   channels.
> > - Sockets, Files, Unix pipes, AsyncFiles, etc are all the "same thing"
> >   from the point of view of the streams and protocols that use them.
> > 

Yes, exactly! Craig's Correspondents is a very complete implementation
of this approach.

Dave





More information about the Squeak-dev mailing list