summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/bank/Account_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/bank/Account_i.h')
-rw-r--r--TAO/examples/Simple/bank/Account_i.h77
1 files changed, 0 insertions, 77 deletions
diff --git a/TAO/examples/Simple/bank/Account_i.h b/TAO/examples/Simple/bank/Account_i.h
deleted file mode 100644
index 969d3cad1e2..00000000000
--- a/TAO/examples/Simple/bank/Account_i.h
+++ /dev/null
@@ -1,77 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/Bank
-//
-// = FILENAME
-// Account_i.h
-//
-// = DESCRIPTION
-// This class implements the Bank IDL interface.
-//
-// = AUTHOR
-// Vishal Kachroo <vishal@cs.wustl.edu>
-//
-// ============================================================================
-
-#ifndef ACCOUNT_I_H
-#define ACCOUNT_I_H
-
-#include "BankS.h"
-
-class Account_i : public POA_Bank::Account
-{
- // = TITLE
- // Bank object implementation.
- //
- // = DESCRIPTION
- // Implementation of a simple object that has two methods, one
- // that return the current balance on the server and the other
- // that shuts down the server.
-public:
- // = Initialization and termination methods.
- Account_i (void);
- // Constructor.
-
- Account_i (const char *, CORBA::Float);
- // Constructor.
-
- ~Account_i (void);
- // Destructor.
-
- virtual CORBA::Float balance (CORBA::Environment &env);
- // Get the current balance in the account.
-
- virtual char *name (CORBA::Environment &env);
- // Get the name of the <Account> holder.
-
- virtual void name (const char *name,
- CORBA::Environment &env);
- // Set the name of the <Account> holder.
-
- virtual void deposit (CORBA::Float,
- CORBA::Environment &env);
- // Deposit money in the account.
-
- virtual void withdraw (CORBA::Float,
- CORBA::Environment &env);
- // Withdraw money in the account.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-
- CORBA::Float balance_;
- // balance for this account
-
- CORBA::String_var name_;
- // Name of the <Account> holder.
-};
-
-#endif /* ACCOUNT_I_H */