summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3746_Regression/Test_i.cpp
blob: 684b38099e8869f00eaa93ea494b4b10e8ee0c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
}