Answered step by step
Verified Expert Solution
Question
1 Approved Answer
There exist two servers S 1 and S 2 . Both servers support the following services: Services supported by server S 1 : int SetPrice
There exist two servers S and S Both servers support the following services:
Services supported by server S:
int SetPricestring float
float GetPricestring
void BuyStockstring int
void SellStockstring int
Services supported by server S:
int SetPricestring int
float GetPricestring
void BuyStockint string
void SellStockstring int
int SetPricestring float
There exist two servers S and S Both servers support the following services:
Services supported by server S: int SetPricestring float
float GetPricestring
void BuyStockstring int
void SellStockstring int
Services supported by server S: int SetPricestring int
float GetPricestring
void BuyStockint string
void SellStockstring int int SetPricestring float
There exist two client processes and they request the following services:
ClientA
int SetPricestring float float GetPricestring void BuyStockint string void SellStockstring int
ClientB
int SetPricestring int float GetPricestring void BuyStockstring int void SellStockstring int
The client processes do not know the location pointer of servers that may provide these services. Devise a software architecture using a ClientBrokerServer architecture for this problem. In this design, the client processes are not aware of the location of the servers providing these services.
Provide a class diagram for the proposed architecture. In your design, all components should be decoupled as much as possible.
Provide the pseudocode for all operations of the following componentsclasses: o Broker
o Client Proxy of ClientA
o Server Proxy of server S
Provide a sequence diagram to show how ClientA gets int SetPricestring float service.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started