
- Ty Policies Online 0 Assume You Have The Following Task For A Client Server Application The Client Can Send A Specifica 1 (54.38 KiB) Viewed 47 times

- Ty Policies Online 0 Assume You Have The Following Task For A Client Server Application The Client Can Send A Specifica 2 (54.66 KiB) Viewed 47 times
ty Policies Online 0 Assume you have the following task for a client/server application. The client can send a specification of what kind of bicycle they want to buy to the server, the data the server needs is always: kind of bike (mtb, road, race), size (XS, S, M, L, XL) and color (black, blue green). The server will check which bikes with the specification are in stock and will return a list of bikes fitting the spec. The returned info for each bike is: brand, price, inventory. Where brand is a string. price a double and inventory an int. Example (just an example the server can have any bikes and the customer can ask for any bike based on the spec above): Customer wants: road, XS, blue Server has: (fuji, road, black, S, 2000, 2). (fuji,, mtb, blue, S, 1000, 2), (canyon, road, blue, XS, 3000, 1), (Cannondale, road, blue, XS, 3000, 3), (fuji, mtb, green, M, 600, 5) Server replies: (canyon, 3000, 1), (Cannondale, 3000, 3) Design a custom protocol for the client and server application for the request and the response any protocol tyne you like from the ones
Diue, AS, Server replies: • (canyon, 3000, 1), (Cannondale, 3000, 3) Design a custom protocol for the client and server application for the request and the response and explain why you chose this protocol. You can choose any protocol type you like from the ones we covered in class. Also make sure you have appropriate error responses. Remember all that was discussed about custom protocols. V 00, 3), (fuji, mtb, green, M. 600,5) You should not create code, I want the custom protocol design (so how would the JSON, protobuf, XML or GRPC look like) with a detailed explanation. If you do not explain your protocol you will not receive points. Edit View Insert Format Tools Table 12pt Paragraph B BIUA 2 T² :