Ah hah! I was using the message without the parameter, so I couldn't tell.
Now I see it is actually #startUp: that is sent. Thanks, Jon!
Cheers,
Rob
----- Original Message -----
From: "Jon Hylands" <
[hidden email]>
To: "The general-purpose Squeak developers list"
<
[hidden email]>
Sent: Tuesday, November 20, 2007 7:36 AM
Subject: Re: Can I know when #startUp is happening for the first time?
On Tue, 20 Nov 2007 07:29:51 -0800, "Rob Withers" <
[hidden email]>
wrote:
> I am having a bunch of network issues with my servers (every image is a
> server) and I need to bounce the connHandler when I startup the first
> time.
> Is there a way to know it is the first time and not just another image
> save?
The argument to the #startUp: method is a boolean, which tells you whether
it is an image save or a fresh start... The name of the argument is
misleading, however. Most methods call it 'resuming', but how it works is
it is false on an image save, and true on an image start...
Later,
Jon
--------------------------------------------------------------
Jon Hylands
[hidden email] http://www.huv.com/jon Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog