summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3276_Regression/test_i.cpp
blob: adfc0cca40eaaddd0a1a4ccdf09c865de89eae9b (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
// $Id$

#include "test_i.h"

Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
  // no-op
}

void
Simple_Server_i::remote_call ()
{
  ACE_DEBUG ((LM_DEBUG,
              "Print out from process id (%P) hosting the servant\n"));
}

void
Simple_Server_i::shutdown ()
{
  ACE_DEBUG ((LM_DEBUG,
              "Servant in process id (%P) received shutdown request. Complying...\n"));
  this->orb_->shutdown (0);
}