previous | start | next

Simple Bank Access Protocol

Client Request Server Response Meaning
BALANCE n n and the balance Get the balance of account n
DEPOSIT n a n and the new balance Deposit amount a into account n
WITHDRAW n a n and the new balance Withdraw amount a from account n
QUIT None Quit the connection

previous | start | next