C2 Supplement. Jie Ren ICS 123, Fall 2002 Based on Eric Dashofy’s slides for ICS 123, Spring 2000. One more example. Holds architecture descriptions. ArchStudio 3. Manages open issues. Critics watch architecture for problems. Manages design critics.
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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
ICS 123, Fall 2002
Based on Eric Dashofy’s slides for
ICS 123, Spring 2000
Solution 1: Merge
Remove other dependency
Remove one dependency
Solution 4:(Data Integration)
Communicate via shared data (mini-blackboard style)
Solution 5:(Control Integration)
Use a manager that can make requests of either component; notifications are turned into invocations.
BAD“Magic Mirror” or “Reflectors”
approach: Component simply“reflects” notifications or requestsinto the opposite type of message.
//Create a named property message
NamedPropertyMessage npm = new NamedPropertyMessage(“ChatText”);
//Add some parameters
npm.addParameter(“Sender”, “Strong Bad”);
//Send it upward as a request