- Everything else in
User is an operation
CheckPassword
- Takes a single parameter
password of type string
- Note the additional specifier
in indicating the direction the parameter is being passed. Other possible values are out and inout
- Returns a boolean (also a primitive IDL type)
- The purpose of this operation is not indicated by the specification
- Typically provided as comments. This operation checks whether the given password is the same as the one currently stored within the User object. This is used internally as part of logging a user in.
AddItem
- Notice the
void return type
- Takes a single parameter of type
Item
Item is another IDL interface (object type)
|