summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/Wait_On_Reactor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/Wait_On_Reactor.h')
-rw-r--r--ACE/TAO/tao/Wait_On_Reactor.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/ACE/TAO/tao/Wait_On_Reactor.h b/ACE/TAO/tao/Wait_On_Reactor.h
new file mode 100644
index 00000000000..212590b4d56
--- /dev/null
+++ b/ACE/TAO/tao/Wait_On_Reactor.h
@@ -0,0 +1,56 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Wait_On_Reactor.h
+ *
+ * $Id$
+ *
+ * @author Alexander Babu Arulanthu <alex@cs.wustl.edu>
+ */
+//=============================================================================
+
+#ifndef TAO_WAIT_ON_REACTOR_H
+#define TAO_WAIT_ON_REACTOR_H
+
+#include /**/ "ace/pre.h"
+
+#include "tao/Wait_Strategy.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+/**
+ * @class TAO_Wait_On_Reactor
+ *
+ * @brief Wait on the Reactor. Happens in s Single Threaded client
+ * environment.
+ *
+ */
+class TAO_Wait_On_Reactor : public TAO_Wait_Strategy
+{
+
+public:
+ /// Constructor.
+ TAO_Wait_On_Reactor (TAO_Transport *transport);
+
+ /// Destructor.
+ virtual ~TAO_Wait_On_Reactor (void);
+
+ // = Documented in TAO_Wait_Strategy.
+
+ virtual int wait (ACE_Time_Value *max_wait_time,
+ TAO_Synch_Reply_Dispatcher &rd);
+ virtual int register_handler (void);
+ virtual bool non_blocking (void) const;
+ virtual bool can_process_upcalls (void) const;
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_WAIT_ON_REACTOR_H */