Streams in squeak.
Russell Penney
russell.penney at tincanct.com
Mon Apr 18 23:13:54 UTC 2005
Goran,
SharedStreams only handle byte/characters not objects (by my reading of the
comments). What about if you want to pass objects back and forward?
Russell
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org [mailto:squeak-dev-
> bounces at lists.squeakfoundation.org] On Behalf Of goran.krampe at bluefish.se
> Sent: Monday, 18 April 2005 7:30 PM
> To: The general-purpose Squeak developers list
> Subject: Re: Streams in squeak.
>
> Hi!
>
> Ned Konz <ned at squeakland.org> wrote:
> > Further, there isn't a clean model for bidirectional streams
> > (command/response) in Squeak.
> [SNIP]
> > I'd probably use a SharedQueue (which is sort of like a double-ended
> stream)
> > to connect to an I2C handler; its contents would be transaction-level
> objects
> > which would then be converted into a series of I2C messages.
>
> Let me just mention SharedStreams:
>
> http://map1.squeakfoundation.org/sm/packagebyname/sharedstreams
>
> ...which is a "better" SharedQueue and also has a bidirectional
> component which thus can be used as a "soft SocketStream" in-image.
>
> regards, Göran
More information about the Squeak-dev
mailing list
|