1 / 7

Types of Message Flows: Synchronous and Asynchronous

Learn about synchronous and asynchronous message flows, their uses, and how they ensure control flow and completion. Explore concepts like nested control flow, interruption prevention, callback functions, and notification of completion. Also, understand the role of active multi-threading in these message flows.

nchen
Download Presentation

Types of Message Flows: Synchronous and Asynchronous

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. types of message flows • synchronous • indicates nested flow of control • used to ensure that state cannot be compromised by • external factors e.g. not interrupted by the operating system • invoking object halts execution while it waits for a return • completion • invoked object finishes • asynchronous • signal from one object to another • invoking object does not halt execution while it waits a return • callback • notification of completion from invoked object

  2. iteration and conditions

  3. print shop branching and asynchronous messages and deletion of objects

  4. (R, S) use case “place a telephone call” this diagram could be extended to show the two parties disconnecting

  5. Fig. 12.24 UML and the Unified Process: Practical Object-Oriented Analysis and Design. Arlow & Neustadt. Addison-Wesley. 2002

  6. showing active

  7. multi- threading

More Related