blob: 7535a7ba5b82c468f5b1ea2b3105dbea79c6f741 (
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_.in ()))
{
this->cli_->reply ("Hello world!");
}
}
void Server::shutdown (
void)
{
this->orb_->shutdown (0);
}
|