Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribed

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managerial Accounting

Authors: John J. Wild, Ken W. Shaw

2010 Edition

9789813155497, 73379581, 9813155493, 978-0073379586

Students also viewed these Accounting questions