Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-05-2004
ponyboy ponyboy is offline
Registered User
 
 
Join Date: Apr 2004
Location: P.R. CHINA
Posts: 6
I am a new comer

a simple question.
Can the command "slice2freezej -I$(ICE_HOME)/slice --dict Filesystem.IdentityNodeMap,Ice::Identity,Filesyste m::PersistentNode
Filesystem.ice $(ICE_HOME)/slice/Ice/Identity.ice" compute a UUID for the
object PersistentNode like the method generateUUID()?
__________________
chenchen
Reply With Quote
  #2 (permalink)  
Old 04-05-2004
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Hello,

For any Freeze map, you need to provide yourself the value of the key.

To generate a UUID-based Ice Identity key, you could use:
Ice.Util.stringToIdentity(Ice.Util.generateUUID())

Cheers,
Bernard
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.