summaryrefslogtreecommitdiff
path: root/TAO/tests/Quoter/quoter_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Quoter/quoter_client.h')
-rw-r--r--TAO/tests/Quoter/quoter_client.h88
1 files changed, 0 insertions, 88 deletions
diff --git a/TAO/tests/Quoter/quoter_client.h b/TAO/tests/Quoter/quoter_client.h
deleted file mode 100644
index e453ca374ad..00000000000
--- a/TAO/tests/Quoter/quoter_client.h
+++ /dev/null
@@ -1,88 +0,0 @@
-// $Id$
-// -*- C++ -*-
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Quoter
-//
-// = FILENAME
-// quoter_client.h
-//
-// = DESCRIPTION
-// @@@ Write this
-//
-// = AUTHORS
-// Darrell Brunsch
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/corba.h"
-#include "quoterC.h"
-
-class Quoter_Client
-{
- // = TITLE
- // @@@ Write this
- //
- // = DESCRIPTION
- // @@@ Write this
-public:
- // = Constructor and destructor.
- Quoter_Client (void);
- ~Quoter_Client (void);
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char **argv);
- // Initialize the client communication endpoint with server.
-
-private:
- int init_naming_service (void);
- // Function to initialize the naming service.
-
- int read_ior (char *filename);
- // Function to read the Quoter factory ior from a file.
-
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- char *quoter_factory_key_;
- // Key of factory obj ref.
-
- char *quoter_key_;
- // Key of the obj ref to be retrieved via the factory.
-
- int shutdown_;
- // Flag to tell server to shutdown.
-
- Stock::Quoter_Factory_var factory_;
- // factory pointer for cubit.
-
- CORBA::Environment env_;
- // Environment variable.
-
- Stock::Quoter_ptr quoter_;
- // Quoter obj ref.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-
- FILE *quoter_factory_ior_file_;
- // File from which to obtain the IOR.
-
- ACE_HANDLE f_handle_;
- // File handle to read the IOR.
-
- int use_naming_service_;
- // Flag to tell client not to use Namingservice to find the cubit
- // Factory.
-};