[squeak-dev] Running process after image save/stop/restart

Ron Teitelbaum ron at usmedrec.com
Fri Mar 1 15:59:01 UTC 2013


Hi Lou,

You are welcome!  Glad it worked!

Ron

> From: squeak-dev-bounces at lists.squeakfoundation.org [mailto:squeak-dev-
> bounces at lists.squeakfoundation.org] On Behalf Of Louis LaBrunda
> 
> Hi Ron,
> 
> Thanks again.  I thought the #startUp method needed to be on the class
side but
> as I said the ominous warning message on saving it scared me a little.
> I did need to do some work on the instance side but that was easy.
> 
> Lou
> 
> On Thu, 28 Feb 2013 19:59:33 -0500, "Ron Teitelbaum" <ron at usmedrec.com>
> wrote:
> 
> >Hi Lou,
> >Yes see:
> >processStartUpList: resuming
> >
> >               "Send #startUp to each class that needs to run
> >initialization after a snapshot."
> >               self send: #startUp: toClassesNamedIn: StartUpList with:
> >resuming.
> >If you need to send to instances then have the class side do it.
> >MyClass class >> startUp: resuming
> >               "Send startUp to all my instances
> >
> >               self allInstnaces do: [:a | a startUp: resuming].
> >Or maybe,
> >               "send startUp to my default instance"
> >
> >               Default ifNotNil: [Default startUp: resuming].
> >Hope that helps.
> >All the best,
> >Ron Teitelbaum
> >
> >Head Of Engineering
> >
> >3d Immersive Collaboration Consulting
> >
> >ron at 3dicc.com
> >
> >Follow Me On Twitter: @RonTeitelbaum
> ><https://twitter.com/RonTeitelbaum>
> >
> >www.3dicc.com <http://www.3dicc.com/>
> >
> >3d ICC on G+
> ><https://plus.google.com/u/0/b/108936249366287171125/108936249366287
> 171
> >125/p
> >osts>
> >
> >
> >
> >
> >
> >
> >
> >> -----Original Message-----
> >
> >> From: squeak-dev-bounces at lists.squeakfoundation.org
> >> [mailto:squeak-dev-
> >
> >> bounces at lists.squeakfoundation.org] On Behalf Of Louis LaBrunda
> >
> >> Sent: Thursday, February 28, 2013 6:37 PM
> >
> >> To: squeak-dev at lists.squeakfoundation.org
> >
> >> Subject: [squeak-dev] Running process after image save/stop/restart
> >
> >>
> >
> >> Hi Ron,
> >
> >>
> >
> >> Thanks for the help.
> >
> >>
> >
> >> >Then you just need to implement the #startUp method on your class to
> >
> >> >handle refreshing the date.
> >
> >>
> >
> >> Is #startUp a class side method?  When I try to save it, I get an
> >> ominous
> >warning
> >
> >> message.
> >
> >>
> >
> >> Lou
> >
> >> -----------------------------------------------------------
> >
> >> Louis LaBrunda
> >
> >> Keystone Software Corp.
> >
> >> SkypeMe  <callto://PhotonDemon> callto://PhotonDemon
> >
> >>  <mailto:Lou at Keystone-Software.com> mailto:Lou at Keystone-
> Software.com
> ><http://www.Keystone-Software.com> http://www.Keystone-Software.com
> >
> >>
> >
> >>
> >
> >
> -----------------------------------------------------------
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
> mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com
> 
> 




More information about the Squeak-dev mailing list