summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Consumer.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Consumer.inl')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Consumer.inl27
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Consumer.inl b/TAO/orbsvcs/orbsvcs/Notify/Consumer.inl
new file mode 100644
index 00000000000..bc0be7f45e8
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/Notify/Consumer.inl
@@ -0,0 +1,27 @@
+// -*- C++ -*-
+//
+// $Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE
+TAO_Notify_Consumer::Request_Queue&
+TAO_Notify_Consumer::pending_events()
+{
+ ACE_ASSERT( pending_events_.get() != 0 );
+ return *pending_events_;
+}
+
+ACE_INLINE CORBA::Boolean
+TAO_Notify_Consumer::is_suspended (void)
+{
+ return this->is_suspended_;
+}
+
+ACE_INLINE void
+TAO_Notify_Consumer::suspend (void)
+{
+ this->is_suspended_ = 1;
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL