[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Archiving and UnArchiving

From: Adam Fedor
Subject: RE: Archiving and UnArchiving
Date: Fri, 24 Aug 2001 08:34:34 -0400

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:address@hidden
Sent: Friday, August 24, 2001 2:53 AM
To: address@hidden
Subject: Archiving and UnArchiving

    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.
Ramana Rao

reply via email to

[Prev in Thread] Current Thread [Next in Thread]