The advantage of that over a single function, I suppose,
is so that you can derive from a standard base
object (or choose from several easy-to-use example objects),
with the four functions [connect read write close] inside.

I would be happy with that, if that was what you were thinking.

Also, I see that the user code would be simpler, since
you wouldn't need to nest your user code in a switch,
and actually, the error handling when error? :state could
become a function too.

Any other benefits to this approach ?

Anton.

> I should like to define a common (standard) interface for async protocols.
>
> I proposed some time ago an object! style, like the View feel,
> instead of the
> awake function.
>
> What do you think?
>
> ---
> Ciao
> Romano

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to