Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / LocalObjects / ServantLocator / Messenger_i.cpp
blob57c1b902c7cc3c6c7483780688bdf5d9683f4746
1 // -*- C++ -*-
2 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
3 // TAO and the TAO IDL Compiler have been developed by:
4 // Center for Distributed Object Computing
5 // Washington University
6 // St. Louis, MO
7 // USA
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
9 // and
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
12 // Irvine, CA
13 // USA
14 // http://doc.ece.uci.edu/
16 // Information about TAO is available at:
17 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
19 #include "Messenger_i.h"
20 #include <iostream>
21 // Implementation skeleton constructor
22 Messenger_i::Messenger_i (void)
26 // Implementation skeleton destructor
27 Messenger_i::~Messenger_i (void)
31 CORBA::Boolean
32 Messenger_i::send_message (
33 const char * user_name,
34 const char * subject,
35 char *& message)
37 std::cout << "Message from: " << user_name << std::endl;
38 std::cout << "Subject: " << subject << std::endl;
39 std::cout << "Message: " << message << std::endl;
40 return true;