Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / ImplRepo / Messenger_i.cpp
blobcad9543fb1c9b12223a5348998ccb88ad86791fa
1 /* -*- C++ -*- */
3 // ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
4 // TAO and the TAO IDL Compiler have been developed by the Center for
5 // Distributed Object Computing at Washington University, St. Louis.
6 //
7 // Information about TAO is available at:
8 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
10 #include "Messenger_i.h"
11 #include <iostream>
12 // Implementation skeleton constructor
13 Messenger_i::Messenger_i (void)
17 // Implementation skeleton destructor
18 Messenger_i::~Messenger_i (void)
22 CORBA::Boolean Messenger_i::send_message (
23 const char * user_name,
24 const char * subject,
25 char *& message)
27 std::cout << "Message from: " << user_name << std::endl
28 << "Subject: " << subject << std::endl
29 << "Message: " << message << std::endl;
30 return 1;