summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/grid/Client_i.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-14 05:31:07 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-14 05:31:07 +0000
commit78a4b9ed4b3f9d5533e058722b6ae51c7aa51f1e (patch)
tree7edd744393baa971ad33c2b642d1a0249cd8848c /TAO/examples/Simple/grid/Client_i.h
parentaf62d68095ddb3b0334a8a6d7ef55f1709808028 (diff)
downloadATCD-ACE-4_5_53.tar.gz
This commit was manufactured by cvs2svn to create tag 'ACE-4_5_53'.ACE-4_5_53
Diffstat (limited to 'TAO/examples/Simple/grid/Client_i.h')
-rw-r--r--TAO/examples/Simple/grid/Client_i.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/TAO/examples/Simple/grid/Client_i.h b/TAO/examples/Simple/grid/Client_i.h
deleted file mode 100644
index 4455c6c73b1..00000000000
--- a/TAO/examples/Simple/grid/Client_i.h
+++ /dev/null
@@ -1,93 +0,0 @@
-// -*- C++ -*-
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple CORBA client that access a Grid
-// server.
-//
-// = AUTHORS
-//
-// ============================================================================
-
-# include "GridC.h"
-
-class Client_i
-{
- // = TITLE
- // Simple Client implementation.
- //
- // = DESCRIPTION
- // Class wrapper for a client that gets the server IOR and then
- // makes several calls to the server before optionally shutting
- // it down.
-
-public:
- // = Initialization and termination methods.
- Client_i (void);
- // Constructor.
-
- ~Client_i (void);
- // Destructor.
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char *argv[]);
- // Initialize the client communication endpoint with server.
-
- void test_grid (void);
- // Make the grid.
-
-private:
- int read_ior (char *filename);
- // Function to read the server 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 *ior_;
- // IOR of the obj ref of the server.
-
- int shutdown_;
- // Flag for server shutdown.
-
- CORBA::Environment env_;
- // Environment variable.
-
- Grid_Factory_var server_;
- // Server object ptr.
-
- Grid_ptr grid_;
- // Pointer to the grid
-
- CORBA::Short height_;
- // Height of the grid.
-
- CORBA::Short width_;
- // Width of the grid.
-
- CORBA::Short setx_;
- // Cell identifier in which a value meeds to be stored.
-
- CORBA::Short sety_;
- // Cell identifier in which a value meeds to be stored.
-
- CORBA::Long setvalue_;
- // The value that needs to be stored in the cell.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-};