summaryrefslogtreecommitdiff
path: root/ACE/tests/Service_Config_DLL.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
commitc4078c377d74290ebe4e66da0b4975da91732376 (patch)
tree1816ef391e42a07929304908ac0e21f4c2f6cb7b /ACE/tests/Service_Config_DLL.h
parent700d1c1a6be348c6c70a2085e559baeb8f4a62ea (diff)
downloadATCD-c4078c377d74290ebe4e66da0b4975da91732376.tar.gz
swap in externals for ACE and TAO
Diffstat (limited to 'ACE/tests/Service_Config_DLL.h')
-rw-r--r--ACE/tests/Service_Config_DLL.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/ACE/tests/Service_Config_DLL.h b/ACE/tests/Service_Config_DLL.h
deleted file mode 100644
index 7eebe0e6364..00000000000
--- a/ACE/tests/Service_Config_DLL.h
+++ /dev/null
@@ -1,91 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Service_Config_DLL.h
- *
- * $Id$
- *
- * @author Ossama Othman <ossama@uci.edu>
- */
-//=============================================================================
-
-#ifndef SERVICE_CONFIG_DLL_H
-#define SERVICE_CONFIG_DLL_H
-
-#include /**/ "ace/pre.h"
-
-#include "Service_Config_DLL_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/Service_Object.h"
-#include "ace/Task.h"
-
-/**
- * @class Service_Config_DLL
- *
- * @brief The Service_Config_DLL that is instantiated when the
- * client-side test module/library is dynamically loaded.
- *
- * This class is the implementation used for all service instances
- * (i.e. those declared using the ACE_FACTORY_* macros).
- */
-class Service_Config_DLL_Export Service_Config_DLL : public ACE_Task_Base
-{
-public:
-
- /// Constructor.
- Service_Config_DLL (void);
-
- /// Initializes object when dynamic linking occurs.
- virtual int init (int argc, ACE_TCHAR *argv[]);
-
- /// Terminates object when dynamic unlinking occurs.
- virtual int fini (void);
-
- /// Run by a daemon thread.
- /**
- * Each thread will invoke the Service Configurator via this
- * method unless the object is the "FINAL" object.
- */
- virtual int svc (void);
-
-private:
-
- /// Directives to be passed to be processed by the Service
- /// Configurator in seperate threads.
- ACE_TCHAR directive_[2][BUFSIZ];
-
-};
-
-/**
- * @class Refuses_Init
- *
- * @brief The Refuses_Init service simply tests for proper operation
- * when a service's init() hook returns -1.
- */
-class Service_Config_DLL_Export Refuses_Init : public ACE_Service_Object
-{
-public:
- // Constructor; required for factory function.
- Refuses_Init () {}
-
- /// Initializes object when dynamic linking occurs.
- virtual int init (int argc, ACE_TCHAR *argv[]);
-
- /// Terminates object when dynamic unlinking occurs.
- virtual int fini (void);
-
- /// Returns information on a service object.
- virtual int info (ACE_TCHAR **info_string, size_t length = 0) const;
-};
-
-ACE_FACTORY_DECLARE (Service_Config_DLL, Service_Config_DLL)
-ACE_FACTORY_DECLARE (Service_Config_DLL, Refuses_Init)
-
-#include /**/ "ace/post.h"
-
-#endif /* SERVICE_CONFIG_DLL_H */