|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Interface Summary | |
---|---|
Command | All commands sent between nodes are implementations of this interface. |
Class Summary | |
---|---|
Account | This is the distributed data. |
DBHandler | This class handles all communication betwwen clients and database (that is, the bank account). |
DepositCommand | This Command implementation is used to deposit money. |
InterestCommand | This Command implementation is used to deposit interest. |
NullAccount | Used as an empty state, so we can transfer an object instead of null . |
WithdrawCommand | This Command implementation is used to withdraw money. |
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |