summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/Multiple_Deactivations/Empty.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/POA/Multiple_Deactivations/Empty.h')
-rw-r--r--TAO/tests/POA/Multiple_Deactivations/Empty.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/TAO/tests/POA/Multiple_Deactivations/Empty.h b/TAO/tests/POA/Multiple_Deactivations/Empty.h
new file mode 100644
index 00000000000..ff1e9a419e1
--- /dev/null
+++ b/TAO/tests/POA/Multiple_Deactivations/Empty.h
@@ -0,0 +1,39 @@
+//
+// $Id$
+//
+
+#ifndef MULTIPLE_DEACTIVATIONS_EMPTY_H
+#define MULTIPLE_DEACTIVATIONS_EMPTY_H
+#include "ace/pre.h"
+
+#include "TestS.h"
+
+/// Implement the Test::Empty interface
+class Empty
+ : public virtual POA_Test::Empty
+{
+public:
+ /// Constructor
+ Empty (void);
+
+ /// Destructor
+ virtual ~Empty (void);
+
+ // = The skeleton methods
+
+ virtual void _add_ref (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC (());
+ virtual void _remove_ref (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC (());
+ virtual void destroy (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ /// Keep the reference count
+ CORBA::ULong refcnt_;
+
+ static CORBA::ULong in_request_count_;
+};
+
+#include "ace/post.h"
+#endif /* MULTIPLE_DEACTIVATIONS_EMPTY_H */