3 //=============================================================================
7 * This class implements the Time IDL interface.
9 * @author Darrell Brunsch <brunsch@cs.wustl.edu>
11 //=============================================================================
22 * @brief Time Object Implementation
24 * Implementation of a simple object that has two methods, one that
25 * return the current time/date on the server and the other that
26 * shuts down the server.
28 class Time_i
: public POA_Time
37 /// Return the current time/date on the server
38 virtual CORBA::Long
current_time ();
40 /// Shutdown the server.
41 virtual void shutdown ();
43 /// Set the ORB pointer.
44 void orb (CORBA::ORB_ptr o
);
50 void operator= (const Time_i
&);