summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3384_Regression/Server_i.cpp
blob: 3df4aba1563b1c3c40bc24a036fbf01717403aef (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 "Server_i.h"

Server::~Server () {}

void Server::setup (
  ::Test::Client_ptr cli)
{
  this->cli_ = Test::Client::_duplicate (cli);
}

void Server::request (
  ::CORBA::Long sel)
{
  ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server::request -> %d\n", sel));
  if (! CORBA::is_nil (this->cli_))
  {
    this->cli_->reply ("Hello world!");
  }
}

void Server::shutdown (
  void)
{
  this->orb_->shutdown (0);
}