summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/grid/Server_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/grid/Server_i.h')
-rw-r--r--TAO/examples/Simple/grid/Server_i.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/TAO/examples/Simple/grid/Server_i.h b/TAO/examples/Simple/grid/Server_i.h
deleted file mode 100644
index dbfd942a2f8..00000000000
--- a/TAO/examples/Simple/grid/Server_i.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// -*- C++ -*-
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// A CORBA server that initializes the grid server implementation
-// and the ORB.
-//
-// = AUTHORS
-//
-// ============================================================================
-
-#ifndef SERVER_I_H
-#define SERVER_I_H
-
-#include "Grid_i.h"
-#include "tao/TAO.h"
-
-class Server_i
-{
- // = TITLE
- // CORBA Server implementation.
-public:
- // = Initialization and termination methods.
- Server_i (void);
- // Constructor.
-
- ~Server_i (void);
- // Destructor.
-
- int init (int argc, char *argv[], CORBA::Environment &env);
- // Initialize the Server state - parsing arguments and waiting.
-
- int run (CORBA::Environment &env);
- // Run the orb.
-
-private:
- Grid_Factory_i servant_;
- // Servant for the Grid interface.
-
- int parse_args (void);
- // Parses the commandline arguments.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- FILE *ior_output_file_;
- // File where the IOR of the server object is stored.
-
- int argc_;
- // Number of command line arguments.
-
- char **argv_;
- // The command line arguments.
-};
-
-#endif /* SERVER_I_H */