Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / DevGuideExamples / LocalObjects / Messenger / Messenger_i.cpp
bloba92e246f1b96c0ad867afada2648f5efef9e558e
1 #include "Messenger_i.h"
2 #include <iostream>
4 // Implementation skeleton constructor
5 Messenger_i::Messenger_i ()
9 // Implementation skeleton destructor
10 Messenger_i::~Messenger_i ()
14 CORBA::Boolean Messenger_i::send_message (
15 const char * user_name,
16 const char * subject,
17 char *& message)
19 std::cout << "Message from: " << user_name << std::endl;
20 std::cout << "Subject: " << subject << std::endl;
21 std::cout << "Message: " << message << std::endl;
22 CORBA::string_free(message);
23 message = CORBA::string_dup("Thanks for the message.");
24 return true;