- 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>
- Balance Check
- immediate resonse: ID <request_id>
- input: CHECK <account_id>
- file response: <request_id> BAL
- Exit
- immediate response: EXIT <request_id>
- file response: EXIT <request_id>
request_id
- incremented by 1 for every request made
- need a mutex