1 / 9

Declaration Management Services

This service provides a range of options for students A and B to interact and manage a food fight, including purchasing fries, notifying each other, coordinating actions, and making evidence disappear.

rideout
Download Presentation

Declaration Management Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Declaration Management Services Tuyen (Vincent) Ngo 15-413 Spring 1999 February 5, 1999

  2. If student A wants to start a food fight with student B what would he need to do? Pot of Oil cooking fries. The O’s employee Student A Student B Student A’s twin brother AB

  3. 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).

  4. 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.

  5. ObjectManagement Services

  6. 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.

  7. 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.

  8. 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.

  9. 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.

More Related