Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
