Extracts command line arguments from args, sets up links to external Oz modules, and if serverObjFileNum is passed, set the internal file number where the Server object is known to reside to that number. This only happens when the MOZ is being re-initialized.
newMoz is used to tell the method that this is the initialization of a completely new moz.
Initializes a new Storage object, mostly using MozBase,init. fileNumToOzName is a dictionary that normally only contains a mapping from the number 1 to the new Storage object's Oz name. Initializes some other dictionaries.
This method loads an object from the disk by its number (using the fileNumToOzName dictionary). It returns the object record in objectRef.
This method saves the object information to disk. Note that objectWrapper is just the Active Object wrapper, not the standard object reference object.
Creates an object, returning a standard object reference in objectRef.
Upgrades the given object to the given class, returning newObjectRef. Note that this could be the same class name as before, but the class itself has been re-loaded in the mean time. In fact, that should be the most common type of upgrade.
Take an object reference record and returns the file number associated with that object reference. Not for general use!
Returns the file number for the Server object. Not for general use!
Sets the file number for the Server object. Not for general use!
Retrieves an object given the file number it is stored in. Not for general use!
This is the procedure that fromRecord needs to instantiate attrs of type 'object'. Full details are in the source.
This is so far from being for general use that it's not even funny.
Set the current logging level to level. Logging levels are, in order from most to least verbose, debug, info, warn, error, and critical.
The default is warn. For whatever level is selected, that level of log message and above (above meaning "less verbose" or "more severe") are printed.
Returns a copy of the Connection module. That's the Oz Connection module, NOT the MOZ Connection class. Used by the Gate and Terminus classes.
Treats
url
as the URL to a file containing an Oz pickle, and returns the result of attempting to un-pickle that file. Used by the Gate class.
Writes the given value, as an Oz pickle, to the file given. The file is stripped of “/” and “\” characters, and placed under the “pickle” directory under the server's root directory.
Returns a full set of capabilities for the object associated with the ozName given.
Returns an object refrence, including a full set of capabilities, for the object associated with the ozName given.
Returns an object refrence, including a full set of capabilities, for the object associated with the file number given. Please don't use this.
Upgrades *all* objects in the MOZ. Well, OK, all the ones Storage knows about (which is everything but special user-created stuff, for which you're on your own).
Creates a ClassControl object for the given
className
, after checking that no such class already exists, and returns a reference to the new object incontrolRef
.