Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / Simple / time / Time_i.cpp
blobda2012edaefc92c48c9f65d6eb58cf9d1a941c18
1 #include "Time_i.h"
2 #include "ace/OS_NS_time.h"
4 // Constructor
5 Time_i::Time_i ()
9 // Destructor
10 Time_i::~Time_i ()
14 // Set the ORB pointer.
15 void
16 Time_i::orb (CORBA::ORB_ptr o)
18 this->orb_ = CORBA::ORB::_duplicate (o);
21 // Return the current date/time on the server.
22 CORBA::Long
23 Time_i::current_time ()
25 return CORBA::Long (ACE_OS::time (0));
28 // Shutdown.
29 void
30 Time_i::shutdown ()
32 ACE_DEBUG ((LM_DEBUG,
33 ACE_TEXT ("Time_i is shutting down\n")));
35 // Instruct the ORB to shutdown.
36 this->orb_->shutdown ();