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.
7 // Information about TAO is available at:
8 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
10 #include "Messenger_i.h"
11 #include "ace/Thread.h"
16 // Implementation skeleton constructor
17 Messenger_i::Messenger_i ()
21 // Implementation skeleton destructor
22 Messenger_i::~Messenger_i ()
26 CORBA::Boolean
Messenger_i::send_message (
27 const char* /*user_name*/,
28 const char* /*subject*/,
32 CORBA::string_free(message
);
34 std::ostringstream ostr
;
35 ostr
<< "Message handled on thread " << ACE_Thread::self();
36 message
= CORBA::string_dup(ostr
.str().c_str());