summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Naming_Service/NT_Naming_Service.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Naming_Service/NT_Naming_Service.h')
-rw-r--r--TAO/orbsvcs/Naming_Service/NT_Naming_Service.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/TAO/orbsvcs/Naming_Service/NT_Naming_Service.h b/TAO/orbsvcs/Naming_Service/NT_Naming_Service.h
deleted file mode 100644
index a0440c9de80..00000000000
--- a/TAO/orbsvcs/Naming_Service/NT_Naming_Service.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// ace
-//
-// = FILENAME
-// NT_Naming_Service.h
-//
-//
-// = DESCRIPTION
-// Run the TAO Naming Service as a Windows NT Service.
-//
-// = AUTHORS
-// John Tucker <jtucker@infoglide.com> and
-// Mike Vitalo <mvitalo@infoglide.com>
-//
-// ============================================================================
-
-#ifndef TAO_NT_NAMING_SERVICE_H
-#define TAO_NT_NAMING_SERVICE_H
-
-#include /**/ "ace/OS.h"
-#include /**/ "ace/NT_Service.h"
-#include /**/ "ace/Singleton.h"
-#include /**/ "ace/Synch.h"
-
-class TAO_NT_Naming_Service : public ACE_NT_Service
-{
- // = TITLE
- // Run the TAO Naming Service as a Windows NT Service.
-public:
- typedef ACE_Recursive_Thread_Mutex MUTEX;
-
- // = Initialization and termination hooks.
- TAO_NT_Naming_Service (void);
- virtual ~TAO_NT_Naming_Service (void);
-
- virtual void handle_control (DWORD control_code);
- // We override <handle_control> because it handles stop requests
- // privately.
-
- virtual int handle_exception (ACE_HANDLE h);
- // We override <handle_exception> so a 'stop' control code can pop
- // the reactor off of its wait.
-
- virtual int svc (void);
- // This is a virtual method inherited from ACE_NT_Service.
-
- virtual int init (int argc,
- ASYS_TCHAR *argv[]);
- // Initialize the objects argc_ and argv_ attributes values.
-
-private:
- // Keep track of the "command-line" arguments.
- int argc_;
- char **argv_;
-
- friend class ACE_Singleton<TAO_NT_Naming_Service, MUTEX>;
-};
-
-typedef ACE_Singleton<TAO_NT_Naming_Service, ACE_Mutex> SERVICE;
-
-#endif /* TAO_NT_NAMING_SERVER_H */
-
-