Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / BiDirectionalGIOP / callback_i.cpp
blob91143969b3c55a1b70beeb111be61b542b0415dc
1 #include "bidir_giop_pch.h"
3 #include "callback_i.h"
4 #include <iostream>
6 Callback_i::Callback_i (CORBA::ORB_ptr orb)
7 : orb_(CORBA::ORB::_duplicate(orb))
11 Callback_i::~Callback_i (void)
15 void Callback_i::shutdown ()
17 std::cout << "Performing clean shutdown." << std::endl;
18 CORBA::Boolean wait = false;
19 orb_->shutdown(wait);
22 void Callback_i::callback_method ()
24 std::cout << "Callback method called." << std::endl;