Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Simple Client/Server Bank account In this homework, you will implement a simple Automated Teller Machines (ATM) client/ multithreaded server banking accounting system. For simplicity:
Simple Client/Server Bank account In this homework, you will implement a simple Automated Teller Machines (ATM) client/ multithreaded server banking accounting system. For simplicity: The multithreaded server has many accounts with an initial balance of 1000 dinars each. There are many clients which are ATM machines, where many students can invoke the following operations at any ATM machine. void deposit(amt): this operation increases the balance of the user account by amt and returns nothing. void withdraw(amt): this operation decreases the balance of the user account by amt and returns nothing. oint inquiry (): this operation returns the balance of the user account. The multithreaded server is running a thread for each connection to maintain accounts balance. Each client has an interactive API to guide the ATM what to send to the multithreaded server. Programming Requirement You are required to write this client-server (banking system) program which communicates via UDP or TCP socket. You are recommended to develop this system using Python (the functionality comes in the package socket). You are free to use JAVA programming language, as long as your code can perform the same operations mentioned above. Deliverable materials Submit the following files: 1- Server code 2- Client code 3- Run file of the server and the client.
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