Since remote references are designed to forward all messages, there is little API required. Class methods for SstRemoteReference provided as API are:Answers an instance of the receiver which is the remote representation of @object in @space. @object can be either a import key or an object. If it is an object then its export key is looked up in @space.Builds and returns a new instance of the receiver for the object identified by @object in space @space.Answers a reference to the remote object in @space whose ID is the receiver. @space must be an actual space as opposed to just a space name.Answers a reference to the remote object in @space in @context whose ID is the receiver. If @context is nil then @space must be an actual space. If a real context is provided then @space can be either a space from that context or the name of a space in that context.Returns true if the receiver is a valid reference. That is, that the local representation of the space containing the receiver is still valid.Remote references (and other instances of subclasses of nil) should never be put directly in the Smalltalk dictionary or in class or pool variables. While this may appear to work while your distributed system is up and running, various parts of the normal Smalltalk infrastructure scans these objects (Smalltalk compiled methods) and sends them messages such as isClass which are not appropriate for general implementation on remote references.
![]() |