summaryrefslogtreecommitdiff
path: root/TAO/tests/Big_Reply/Big_Reply_i.cpp
blob: 7a5abeac4be7351cd82454cddd2fe31f5ec6f6b3 (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
29
30
31
32
33
34
35
36
//$Id$
#include "Big_Reply_i.h"

Big_Reply_i::Big_Reply_i (CORBA::ORB_ptr orb,
                          CORBA::ULong len)
  : orb_ (orb),
    length_ (len)
{
}

Big_Reply_i::~Big_Reply_i (void)
{
  // no-op
}

Test::Octet_Seq *
Big_Reply_i::get_big_reply ( /**/)
{
  Test::Octet_Seq_var reply_mesg =
    new Test::Octet_Seq (this->length_);

  reply_mesg->length (this->length_);

  return reply_mesg._retn ();
}

void
Big_Reply_i::ping ( /**/)
{
}

void
Big_Reply_i::shutdown ( /**/)
{
  this->orb_->shutdown ();
}