Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / Auth / Messenger_i.cpp
blob170f0499f3164949204e7fc879a439da5c4b33d1
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 #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY == 1)
12 #include <iostream>
13 #else
14 #include <iostream.h>
15 #endif
17 // Implementation skeleton constructor
18 Messenger_i::Messenger_i (void)
22 // Implementation skeleton destructor
23 Messenger_i::~Messenger_i (void)
27 CORBA::Boolean Messenger_i::send_message (const char * user_name,
28 const char * subject,
29 char *& message)
31 //Add your implementation here
32 std::cerr << "Message from: " << user_name << std::endl;
33 std::cerr << "Subject: " << subject << std::endl;
34 std::cerr << "Message: " << message << std::endl;
35 return true;