Back: PluggableAdaptor-accessing Up: Base classes Forward: PluggableProxy class-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.128 PluggableProxy

Defined in namespace Smalltalk
Superclass: AlternativeObjectProxy
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.

1.128.1 PluggableProxy class: accessing  (class)
1.128.2 PluggableProxy: saving and restoring  (instance)


1.128.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).


1.128.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.



Back: PluggableProxy class-accessing Up: PluggableProxy Forward: Point   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on July, 23 2009 using texi2html