Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

PickleWriter Class Reference

Inheritance diagram for PickleWriter:

ProtocolWriter List of all members.

Public Member Functions

 this (IBuffer buffer)
PickleWriter freeze (IPickle object)

Member Function Documentation

this IBuffer  buffer  )  [inline]
 

Construct a PickleWriter upon the given buffer. As Objects are serialized, their content is written to this buffer. The buffer content is then typically flushed to some external conduit, such as a file or socket.

Note that serialized data is always in Network order.

Reimplemented in ProtocolWriter.

Definition at line 70 of file PickleWriter.d.

PickleWriter freeze IPickle  object  )  [inline]
 

Serialize an Object. Objects are written in Network-order, and are prefixed by the guid exposed via the IPickle interface. This guid is used to identify the appropriate factory when reconstructing the instance.

Definition at line 84 of file PickleWriter.d.

References IPickle::getGuid(), and IWritable::write().

Referenced by VirtualCache::put(), and testClassSerialization().


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:09 2004 for Mango by doxygen 1.3.6