Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / Bug_2604_Regression / Messenger_i.cpp
blob0cee65e9fe1be2f9fb09c0f38158e2a1b6d154f5
1 #include "Messenger_i.h"
3 CORBA::Boolean
4 Messenger_i::send_message (const char *user_name, const char *subject,
5 char *& message)
7 ACE_DEBUG ((LM_DEBUG,
8 ACE_TEXT ("Message from: %C\nSubject: %C\nMessage: %C\n"),
9 user_name, subject, message));
10 const char *reply = "A reply from the server.";
11 CORBA::string_free (message);
12 message = CORBA::string_dup (reply);
13 if (++this->count_ == 6)
15 this->orb_->shutdown (0);
17 return true;