[Q][Connectors] real detach?

Ned Konz ned at bike-nomad.com
Mon Jun 30 05:10:15 UTC 2003


On Sunday 29 June 2003 09:10 pm, German Morales wrote:

> > So on disconnection, your morph would wait around until it heard
> > from the connector that it had been reconnected or deleted.
>
> Ok, I've it running now.
> I've overriden the #connectionsChanged method, which works but
> makes me feel unhappy, since I must test if self destinationMorph
> gives me a nil or not. Is that the best place to detect
> disconnections?

Yes. It's called on entry to the #disconnected, #oneEndConnected, and 
#connected states.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list