Skip to content

brnsmns13/bank_server_308

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CprE 308 Project 2

Requests

  1. Transaction
  • immediate resonse: ID <request_id>
  • input: TRANS ...
  • up to 10 transactions per input
  • file response:
    • if success: <request_id> OK
    • if failure: <request_id> ISF <acct_id>
  1. Balance Check
  • immediate resonse: ID <request_id>
  • input: CHECK <account_id>
  • file response: <request_id> BAL
  1. Exit
  • immediate response: EXIT <request_id>
  • file response: EXIT <request_id>

request_id

  • incremented by 1 for every request made
  • need a mutex

About

CprE 308 Project 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published