summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/time-date/Time_Date.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/time-date/Time_Date.h')
-rw-r--r--TAO/examples/Simple/time-date/Time_Date.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/TAO/examples/Simple/time-date/Time_Date.h b/TAO/examples/Simple/time-date/Time_Date.h
deleted file mode 100644
index e10e06c12bf..00000000000
--- a/TAO/examples/Simple/time-date/Time_Date.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// $Id$
-
-#include "Time_Date_i.h"
-#include "tao/TAO.h"
-#include "ace/Task.h"
-
-class ACE_Svc_Export DLL_ORB : public ACE_Task_Base
-{
- // = TITLE
- // Define a class that dynamically links an ORB into a server
- // process via the <ACE_Service_Configurator>.
-public:
- virtual int init (int argc, char *argv[]);
- // Initialize the <TAO_ORB_Manager>.
-
- virtual int fini (void);
- // Shutdown the <TAO_ORB_Manager>.
-
- virtual int svc (void);
- // Concurrency hook.
-
- TAO_ORB_Manager orb_manager_;
- // ORB manager.
-};
-
-class ACE_Svc_Export Time_Date_Servant : public ACE_Service_Object
-{
- // = TITLE
- // Define a class that dynamically links the Time_Date service
- // into a server process via the <ACE_Service_Configurator>. Note
- // that this assumes the ORB has been linked previously.
-public:
- virtual int init (int argc, char *argv[]);
- // Initialize the <Time_Date> servant.
-
- int parse_args (int argc, char *argv[]);
- // Parse the "command-line" arguments.
-
-private:
- Time_Date_i servant_;
- // Servant for the <Time_Date> object.
-
- FILE *ior_output_file_;
- // File where the IOR of the server object is stored.
-
- const char *orb_;
- // Name of the ORB we're linking dynamically.
-};
-
-// The following Factory is used by the <ACE_Service_Config> and
-// dll_orb.conf file to dynamically initialize the state of the
-// Time_Date service.
-ACE_SVC_FACTORY_DECLARE (DLL_ORB)
-ACE_SVC_FACTORY_DECLARE (Time_Date_Servant)