Image Unique Identifier
Ron Teitelbaum
Ron at USMedRec.com
Tue Aug 22 21:27:41 UTC 2006
I was worried that someone would transfer my object to another image before
it shut down with some distributed object framework; I wanted to prevent
that by having the image access some data outside the image itself. I
suppose that an external file containing a UUID would have the same effect,
but would add to support problems. It is a good thought.
Ron
> -----Original Message-----
> From: Colin Putney [mailto:cputney at wiresong.ca]
> Sent: Tuesday, August 22, 2006 4:45 PM
> To: Ron at USMedRec.com; The general-purpose Squeak developers list
> Subject: Re: Image Unique Identifier
>
>
> On Aug 22, 2006, at 4:13 PM, Ron Teitelbaum wrote:
>
> > I need a unique image identifier. Does anyone have any suggestions?
>
> Why not have a class that creates a UUID when the image comes up, and
> destroys it on shutdown? That would satisfy your requirements for
> uniqueness. If you need to be able to protect the identifier from
> modification by untrusted code in the image, it gets a lot harder.
> You might need a plugin for that.
>
> Colin
More information about the Squeak-dev
mailing list
|