blob: f233dd2b2290c9c12b237e88bd6310903e16470a (
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
37
38
|
//
// $Id$
//
#include "Callback.h"
ACE_RCSID(Callback, Callback, "$Id$")
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);
}
|