Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / MT_Timeout / Sleep_Service.h
blobd5d2f3813f3a58ae4deecdb2cb30ee7200052e43
2 #ifndef SLEEP_SERVICE_H
3 #define SLEEP_SERVICE_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Sleep_Service interface
9 class Sleep_Service
10 : public virtual POA_Test::Sleep_Service
12 public:
13 /// Constructor
14 Sleep_Service (CORBA::ORB_ptr orb);
16 // = The skeleton methods
17 virtual void go_to_sleep (CORBA::ULong microseconds);
19 virtual void shutdown ();
21 private:
22 /// Use an ORB reference to convert strings to objects and shutdown
23 /// the application.
24 CORBA::ORB_var orb_;
27 #include /**/ "ace/post.h"
28 #endif /* SLEEP_SERVICE_H */