Merge pull request #2306 from mitza-oci/warnings
[ACE_TAO.git] / TAO / examples / Simple / chat / Receiver_i.cpp
blob23aec18bea558f6eafc13da43dddbaa8fdd2085b
2 //=============================================================================
3 /**
4 * @file Receiver_i.cpp
6 * Implements the Receiver_i class, which is used by the chat client.
8 * @author Pradeep Gore <pradeep@cs.wustl.edu>
9 */
10 //=============================================================================
13 #include "Receiver_i.h"
15 Receiver_i::Receiver_i ()
16 : orb_ (0)
20 Receiver_i::~Receiver_i ()
24 void
25 Receiver_i::message (const char *msg)
27 ACE_DEBUG ((LM_DEBUG,
28 ACE_TEXT (": %C\n"),
29 msg));
32 void
33 Receiver_i::shutdown ()
35 // Instruct the ORB to shutdown.
36 this->orb_->shutdown ();
39 void
40 Receiver_i::orb (CORBA::ORB_ptr o)
42 this->orb_ = CORBA::ORB::_duplicate (o);