Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / ImplRepo / Basic / Messenger_i.cpp
blobc224376be0957e2530b61240ab8250c678f3d40f
1 #include "Messenger_i.h"
2 #include <iostream>
3 #include <exception>
5 CORBA::Boolean Messenger_i::send_message(
6 const char * user_name,
7 const char * subject,
8 char *& message)
10 std::cout << "Message from: " << user_name << std::endl
11 << "Subject: " << subject << std::endl
12 << "Message: " << message << std::endl;
13 message = CORBA::string_dup("A reply.");
14 return 1;