summaryrefslogtreecommitdiff
path: root/ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h')
-rw-r--r--ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h b/ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h
new file mode 100644
index 00000000000..ae0cb97e37d
--- /dev/null
+++ b/ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h
@@ -0,0 +1,24 @@
+/* -*- C++ -*- $Id$ */
+
+#ifndef MESSENGERSHUTDOWNTIMER_H_
+#define MESSENGERSHUTDOWNTIMER_H_
+
+#include "ace/Event_Handler.h"
+#include "tao/corba.h"
+
+class MessengerShutdownTimer : public ACE_Event_Handler
+{
+public:
+ // Constructor
+ MessengerShutdownTimer (CORBA::ORB_ptr orb);
+
+ virtual int handle_timeout (
+ const ACE_Time_Value & current_time,
+ const void * act);
+
+private:
+ CORBA::ORB_var orb_;
+};
+
+
+#endif /* MESSENGERSHUTDOWNTIMER_H_ */