This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS 290C Spring 2010 Homework Assignment 3 Due Thursday, June 3rd Do not discuss the problems with anyone other than the instructor. 1. Consider the following choreography specification for a Loan Approval service: The Loan Approver service is composed of three peers (participants): Customer, Loan-Approver, Risk- Assessor . First the Customer sends either a request-small (indicating a small loan request) or a request-large (indicating a large loan request) message to the Loan-Approver . If the request is for a small amount, then the Loan-Approver sends an approved message to the Customer which ends the conversation. If the request is for a large amount, then the Loan- Approver sends a check message to the Risk-Assessor . Then, the Risk-Assessor sends the Loan-Approver either a risk-high or a risk-low message. If the Loan-Approver receives a risk- high message, then it sends a denied message to the Customer which ends the conversation. If the Loan-Approver receives a risk-low message, then it sends the Customer an approved message which ends the conversation....
View Full Document
- Fall '09