summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/time/Time_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/time/Time_i.cpp')
-rw-r--r--TAO/examples/Simple/time/Time_i.cpp57
1 files changed, 0 insertions, 57 deletions
diff --git a/TAO/examples/Simple/time/Time_i.cpp b/TAO/examples/Simple/time/Time_i.cpp
deleted file mode 100644
index 120cba137c8..00000000000
--- a/TAO/examples/Simple/time/Time_i.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-// $Id$
-
-#include "Time_i.h"
-
-ACE_RCSID(Time, Time_i, "$Id$")
-
-// Constructor
-Time_i::Time_i (void)
-{
- // no-op
-}
-
-// Copy Constructor
-Time_i::Time_i (Time_i &t)
- : POA_Time (t)
-{
- // no-op
-}
-
-// Destructor
-
-Time_i::~Time_i (void)
-{
- // no-op
-}
-
-// Set the ORB pointer.
-
-void
-Time_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
-
-// Return the current date/time on the server.
-
-CORBA::Long
-Time_i::time (CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return CORBA::Long (ACE_OS::time (0));
-}
-
-// Shutdown.
-
-void
-Time_i::shutdown (CORBA::Environment & )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- ACE_DEBUG ((LM_DEBUG,
- "%s\n",
- "Time_i is shutting down"));
-
- // Instruct the ORB to shutdown.
- this->orb_->shutdown ();
-}
-