RE: Archiving and UnArchiving

"Adam Fedor" <[email protected]>
Newsgroups gmane.comp.lib.gnustep.applications
Message-ID <[email protected]>
You might look at the gui/Model code (in the gnustep-gui library), which
basically solves this exact problem of archiving between OPENSTEP and
GNUstep, although just for the AppKit classes w/r nib files. It might be
a good start (or example) for what you're doing.

-----Original Message-----
From: ramana rao [mailto:[email protected]]
Sent: Friday, August 24, 2001 2:53 AM
To: [email protected]
Subject: Archiving and UnArchiving


Hi,
 
 
    Here we are doing a major project of converting an Openstep Server
to GNUstep. Here we are stuck at critical point.
 
 
   Here we have the client running under OpenStep. And we are porting
the serevr to GNUstep. Both server and client will communicate through
sockets. Now while sending object to client, we are encoding the object
using NSArchiver at server and decoding at Client using NSUnarchiver.
It works fine when both client and server are in Openstep.
 
  But when we are running cross-platform,
   The problem here is the object arhived from OPenStep cannot be
directly unarchived in GNUstep.
 
 
    Now what do we do here, the options seem, 1. writing our own
archiver or 2. encode the object in to plist in a pre-defined format.
 
 
  We are thinking of writing our own archiver. what else can we do?
 
 Is there any relationship between OpenStep archived object and GNUstep
archived object.
 
 Is there any other easy alternative? 
 Please suggest.
 
thanks
 
Ramana Rao
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.