blob: b12a7b10e8ff236f0548f05a55447e5524e78e70 (
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
|
#include "Callback.h"
Callback::Callback (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
CORBA::Boolean
Callback::are_you_there (CORBA::String_out answer)
{
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) Callback - we are here!\n"));
answer = CORBA::string_dup ("Yes, I am!");
return 1;
}
void
Callback::test_oneway (void)
{
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) Callback - test_oneway!\n"));
}
void
Callback::shutdown (void)
{
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) Callback - shutdown!\n"));
this->orb_->shutdown (0);
}
|