Back: PluggableAdaptor-accessing
Up: Class reference
Forward: PluggableProxy class-accessing
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.111 PluggableProxy

Defined in namespace Smalltalk
Category: Streams-Files
I am a proxy that stores a different object and, upon load, sends #reconstructOriginalObject to that object (which can be a DirectedMessage, in which case the message is sent). The object to be stored is retrieved by sending #binaryRepresentationObject to the object.

6.111.1 PluggableProxy class: accessing  (class)
6.111.2 PluggableProxy: saving and restoring  (instance)


6.111.1 PluggableProxy class: accessing

on: anObject
Answer a proxy to be used to save anObject. The proxy stores a different object obtained by sending to anObject the #binaryRepresentationObject message (embedded between #preStore and #postStore as usual).


6.111.2 PluggableProxy: saving and restoring

object
Reconstruct the object stored in the proxy and answer it; the binaryRepresentationObject is sent the #reconstructOriginalObject message, and the resulting object is sent the #postLoad message.




This document was generated on May, 12 2002 using texi2html