Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / MT_Timeout / Sleep_Service.h
blobbf4021284fad1fab0a413f33df9e8d76e919d2f1
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 (void);
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 */