6.1 Proxyobject types

In principle the type of a proxy object is exactly the same as the type of the object it represents. It would be pretty impractical, however, if the current implementation demanded this, for at least the following reasons [10]:

The solution used in the current release of BETA distribution is to instantiate proxy objects as instances of the most specific pattern known to the client and that is declared in the shellEnvLib:attributes SLOT of shellEnv. This means that all operations to be used remotely must be declared in this SLOT, but the actual object may be an instance of any subpattern declared where it might be appropriate.

One unfortunate side effect of the implementation described above is that virtual entries are not supported. This has to do with the implementation of virtual dispatch in BETA, and is outside the scope of this manual. However, keep in mind that

Subpatterns of remoteable.entry are not allowed to be virtual.


[10] Note that none of these reasons are principal problems, but they are practical problems in the current release
[11] It will be in a future release


Distributed Objects in BETA - Reference Manual
© 1993-2002 Mjølner Informatics
[Modified: Monday October 23rd 2000 at 22:18]