summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3276_Regression/test_i.cpp
blob: 1e80fe881e7d4baf8cc841f3dee5c4a8dcfb6f91 (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);
}