Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / ImplRepo / Messenger_i.cpp
blob5a2521f4bf24c34f069399ee3a775e4ec82ed56f
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 ()
17 // Implementation skeleton destructor
18 Messenger_i::~Messenger_i ()
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;