Index - All Packages - All Categories - All Classes
Class Lock
To login to a club, you ask the server for a Lock. If you send the right message to the Lock, it will return you a new KeyMaster with the authority of the club. Each subclass of Lock defines its own protocol for opening.
For each kind of Lock, there is a corresponding kind of LockSmith which creates it. Each ClubManager has a LockSmith sub-document, and when you ask the server for a Lock to that club, it asks the club`s LockSmith document Wrapper to create a newLock. The LockSmith then creates the corresponding kind of Lock. It may also use information stored in the LockSmith document, such as a password or scramblerName.
Package: Udanax-Gold
All Superclasses: Object Heaper
Immediate Subclasses: BooLock ChallengeLock MatchLock MultiLock WallLock
Protocols: Object
Categories: Xanadu-Be-Locks