Can I know when #startUp is happening for the first time?

Jon Hylands jon at huv.com
Tue Nov 20 15:36:37 UTC 2007


On Tue, 20 Nov 2007 07:29:51 -0800, "Rob Withers" <reefedjib at yahoo.com>
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      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Raptor (Small Biped Velociraptor Robot)
           http://www.huv.com/blog



More information about the Squeak-dev mailing list