blob: b16ab2f3f1f786631db691d7b77c6f19659fa3c0 (
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
|
#include "server_i.h"
ACE_RCSID (Callback,
server_i,
"$Id$")
server_i::server_i (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb)),
client_ ()
{
}
server_i::~server_i (void)
{
}
void
server_i::set_client (client_ptr c)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->client_ = client::_duplicate (c);
}
void
server_i::test_request (const char *msg)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->client_->test_reply (msg);
}
void
server_i::shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
|