3 //=============================================================================
5 * @file Bank_Client_i.h
7 * This class implements the interface calls for RMI.
9 * @author Balachandran Natarajan <bala@cs.wustl.edu>
11 //=============================================================================
14 #ifndef BANK_CLIENT_I_H
15 #define BANK_CLIENT_I_H
17 #include "../Simple_util.h"
21 * @class Bank_Client_i
23 * @brief Grid_Client interface subclass.
25 * This class implements the interface between the interface
26 * objects and the client .
37 /// Execute the methods.
38 int run (const char *, int, ACE_TCHAR
*[]);
41 /// Method that calls all the test functions
42 int check_accounts ();
44 /// Tests if accounts opened with different names return a different account
46 void test_for_different_name ();
48 /// Tests if accounts opened with the same name return the same
50 void test_for_same_name ();
52 /// Tests for the Overdraft Exception when the client tries to
53 /// withdraw more money than the current balance.
54 void test_for_overdraft ();
56 /// Instantiate the client object.
57 Client
<Bank::AccountManager
> client_
;
60 #endif /* TIME_CLIENT_I_H */