summaryrefslogtreecommitdiff
path: root/TAO/examples/Buffered_AMI/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Buffered_AMI/test_i.cpp')
-rw-r--r--TAO/examples/Buffered_AMI/test_i.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/examples/Buffered_AMI/test_i.cpp b/TAO/examples/Buffered_AMI/test_i.cpp
new file mode 100644
index 00000000000..188952f828e
--- /dev/null
+++ b/TAO/examples/Buffered_AMI/test_i.cpp
@@ -0,0 +1,27 @@
+// $Id$
+
+#include "test_i.h"
+
+ACE_RCSID(Buffered_AMI, test_i, "$Id$")
+
+test_i::test_i (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+void
+test_i::method (CORBA::ULong request_number,
+ CORBA::ULong_out reply_number)
+{
+ ACE_DEBUG ((LM_DEBUG,
+ "server: Iteration %d @ %T\n",
+ request_number));
+
+ reply_number = request_number;
+}
+
+void
+test_i::shutdown (void)
+{
+ this->orb_->shutdown (0);
+}