Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / CallbackTest / Callback.cpp
blob32143d1b8d734d046f50afea69668a9d1dc537c0
1 #include "Callback.h"
3 Callback::Callback (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
8 CORBA::Boolean
9 Callback::are_you_there (CORBA::String_out answer)
11 ACE_DEBUG ((LM_DEBUG,
12 "(%P|%t) Callback - we are here!\n"));
14 answer = CORBA::string_dup ("Yes, I am!");
16 return 1;
19 void
20 Callback::test_oneway ()
22 ACE_DEBUG ((LM_DEBUG,
23 "(%P|%t) Callback - test_oneway!\n"));
26 void
27 Callback::shutdown ()
29 ACE_DEBUG ((LM_DEBUG,
30 "(%P|%t) Callback - shutdown!\n"));
32 this->orb_->shutdown (false);