[squeak-dev] Xtreams file handles
nicolas.cellier.aka.nice at gmail.com
Sun Aug 14 08:35:36 UTC 2011
2011/8/14 Colin Putney <colin at wiresong.com>:
> On Sat, Aug 13, 2011 at 8:22 AM, Nicolas Cellier
> <nicolas.cellier.aka.nice at gmail.com> wrote:
>> Thanks Dave.
>> Yes the separation of Stream from the IOHandle is a good thing IMO.
>> Current architecture is
>> - ExternalRessourceHandle
>> - - IOHandle
>> - - - IOFileHandle
>> - - - IOSocketHandle
>> The question as I understand it is whether the IOHandle level by
>> itself is required or not, and what does it bring.
>> Maybe it could bring common behaviour between socket and files, but
>> currently it does not.
>> In current implementation the common behaviour is captured by the Stream level.
> That's exactly right.
> And here's one other thing I just noticed: IOSocketHandle isn't being
> used at all. Socket itself serves as a handle for Xtreams that read or
> write to the network. I guess there's no reason not to make the
> changes I need.
Yes Socket and IOSocketHandle are twin classes...
I note that the structure of Flow does not have the IOHandle level,
but have a zoo of sockets defined as ExternalResource
More information about the Squeak-dev