[ANN] Forwarder

Stephen Pair spair at advantive.com
Wed Jul 25 12:55:19 UTC 2001


This change set modifies the Interpreter and adds a class called
Forwarder. Instances of Forwarder will forward any messages received to
the object contained in the first slot. As a result, a Forwarder cannot
respond to any messages of its own. Great for applications where you
need to proxy external objects of an unknown size and class, but can't
afford to use #become: or #becomeForward. To get and set the forwardee
of a forwarder, see the class methods of Forwarder. To create an
instance initialized with some object, evaluate:

	Forwarder on: anObject

You can download it at: http://spair.swiki.net/forwarder (that is, if I
can convince Swiki.net to stop crashing on me).  There is also a more
detailed discussion there.

- Stephen





More information about the Squeak-dev mailing list