summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3746_Regression/Test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_3746_Regression/Test_i.cpp')
-rw-r--r--TAO/tests/Bug_3746_Regression/Test_i.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3746_Regression/Test_i.cpp b/TAO/tests/Bug_3746_Regression/Test_i.cpp
new file mode 100644
index 00000000000..684b38099e8
--- /dev/null
+++ b/TAO/tests/Bug_3746_Regression/Test_i.cpp
@@ -0,0 +1,28 @@
+//
+// $Id$
+//
+#include "Test_i.h"
+
+ACE_RCSID(TestLargeSequence,
+ TestLargeSequence,
+ "$Id$")
+
+BoundSequences::BoundSequences (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+::CORBA::ULong BoundSequences::SendSequenceOf10Long (const ::CORBA::ULong LengthSent, const ::Test::BoundSequences::SequenceOf10Long &inSeq)
+{
+ ACE_DEBUG ((LM_DEBUG,
+ "Server - BoundSequences::SendSequenceOf10Long (%u, length(%u)) is %C\n",
+ LengthSent, inSeq.length(),
+ ((LengthSent == inSeq.length())? "Correct" : "**** Incorrect ****")));
+ return inSeq.length();
+}
+
+void
+BoundSequences::shutdown (void)
+{
+ this->orb_->shutdown (0);
+}