Presentation on theme: "Declaration Management Services Tuyen (Vincent) Ngo 15-413 Spring 1999 February 5, 1999."— Presentation transcript:
Declaration Management Services Tuyen (Vincent) Ngo 15-413 Spring 1999 February 5, 1999
If student A wants to start a food fight with student B what would he need to do? Student A Student B The O’s employee Pot of Oil cooking fries. Student A’s twin brother AB
Publish Service –Ask the employee if you can buy some fries. Subscribe Service –Ask the employee if he can notify you when fries are available. Publish Interaction Class Service –Ask the employee if you can take fries and throw it at another object. (ie. Person).
Subscribe Interaction Class Service –Student A wants the employee to tell him if someone is throwing something. Same for student B. Turn Interactions On Service –The employee tells student A’s twin what actions his brother is planning to take. Start Registration Service –The employee yells out that a batch of fries are ready.
Register Object Instance –Student A can now buy the fries and own it. Discover Object Instance –Student A wants his twin to help him out so he tells him about the fries he just obtained (registered). Update Attribute Values Service –Student A asks the employee for ketchup on the fries.
Reflect Attribute Values Service –The employee takes some ketchup and puts it on the fries. Request Attribute Value Update Service –Student A’s twin wants to know what’s on the fries. He asks the employee to tell him. Provide Attribute Value Update Service –The employee tells Student A to tell his brother what he put on fries.
Send Interaction Service –Student A tells the employee that he wants to throw the fries at Student B. Receive Interaction Service –Student B gets notified that student A threw fries at him.
Local Delete Object Instance –Student A’s twin doesn’t want to be any part of this so he pretends he never saw the fries his brother threw. Delete Object Instance Service –Student A wants to hide the evidence so he asks the employee to make the fries he threw at student B disappear. Remove Object Instance Service –The employee makes the fries vanish into thin air.