Next: , Previous: Terminus Methods, Up: Core Methods



5.1.16 Control Methods

— Method on Control: getName name

Generates a name based on the name of the underlying controlled object. For example, if the controlled object is named “Dead Parrot”, this method will return “Control Rod For a Dead Parrot”. Also updates the Control object's name attribute.

— Method on Control: selfMatch

Makes sure that its name is set properly, based on the current name of the controlled object, then runs the normal selfMatch method.

— Method on Control: otherwise

The otherwise method is priviledged in Oz: it is called for any method call that doesn't match anything else. It is used here to handle the extensibility of Control verbs and methods based on the underlying controlled object's class.

— Method on Control: getMethodList methodList

Returns the combined methods of the Control object and the controlled object.

— Method on Control: getVerbs verbs

Returns getControlVerbs on the underlying object.

— Method on Control: start

Generates a perfect object reference on the controlled object (i.e. one that can never lose capabilities) using a special capability set from Storage, and sets its name.

— Method on Control: publicSelfReference

Calls selfReference: with Control objects, possession is ten tenths of the law.