Oberon || Library || Module Index || Search Engine || Definition || Module
PROCEDURE RegisterType(VAR type: Services.Type; name, baseName: ARRAY OF CHAR); PROCEDURE Init(object: PersistentObjects.Object; type: Services.Type; name: ARRAY OF CHAR);
The idea is that instead of transferring the whole contents of a constant object by marshalling procedures a name is sufficient to identify the same object in another process. In addition, constant objects do not get cloned and keep therefore referential integrity as objects imported or exported by RemoteObjects.
RegisterType is to be called instead of PersistentObjects.RegisterType for types of constant objects. Note that type must be exclusively used as a type of constant objects in the sense of this module.
Init is to be called instead of PersistentObjects.Init for constant objects. Note that name should be qualified with the own module name to avoid name conflicts.
Assertions fail if
Oberon || Library || Module Index || Search Engine || Definition || Module