summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Naming_Service/Naming_Service.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Naming_Service/Naming_Service.h')
-rw-r--r--TAO/orbsvcs/Naming_Service/Naming_Service.h78
1 files changed, 0 insertions, 78 deletions
diff --git a/TAO/orbsvcs/Naming_Service/Naming_Service.h b/TAO/orbsvcs/Naming_Service/Naming_Service.h
deleted file mode 100644
index 819f496802f..00000000000
--- a/TAO/orbsvcs/Naming_Service/Naming_Service.h
+++ /dev/null
@@ -1,78 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// orbsvcs/Naming_Service/Naming_Service
-//
-// = FILENAME
-// Naming_Service.h
-//
-// = DESCRIPTION
-// This class implements the functionality of a Naming_Service in
-// a stand-alone process.
-//
-// = AUTHORS
-// Nagarajan Surendran (naga@cs.wustl.edu)
-//
-// ============================================================================
-
-#ifndef TAO_NAMING_SERVICE_H
-#define TAO_NAMING_SERVICE_H
-
-#include "tao/TAO.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-
-class TAO_Naming_Service
-{
- // = TITLE
- // Defines a class that encapsulates the implementation of the
- // COS Naming Service.
- //
- // = DESCRIPTION
- // This class makes use of the <TAO_Naming_Server> and
- // <TAO_ORB_Manager> class to implement the COS Naming Service.
-public:
- TAO_Naming_Service (void);
- // Default Constructor.
-
- TAO_Naming_Service (int argc, char *argv[]);
- // Constructor taking the command-line arguments.
-
- int init (int argc, char *argv[]);
- // Initialize the Naming Service with the arguments.
-
- int run (CORBA_Environment& env);
- // Run the TAO_Naming_Service.
-
- ~TAO_Naming_Service (void);
- // Destructor.
-
-private:
- int parse_args (int argc, char *argv[]);
- // parses the arguments.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- TAO_Naming_Server my_naming_server_;
- // Naming Server instance.
-
- FILE *ior_output_file_;
- // File to output the Naming Service IOR.
-
- const char *pid_file_name_;
- // File to output the process id.
-
- size_t context_size_;
- // Size of the hash_table allocated upon the creation of the Naming
- // Service context (if one is created). Note: all the contexts
- // created under the given context will use the same size for their
- // initial hash table allocations.
-
- size_t time_;
- // After how long the server should stop listening to requests (in
- // seconds).
-};
-
-#endif /* TAO_NAMING_SERVICE_H */