summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/DevGuideExamples/ImplRepo/IORTable/Messenger_i.cpp
blob: fce3618c8cef462d8897aed93cf84b49c4930858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Messenger_i.h"
#include <iostream>


CORBA::Boolean Messenger_i::send_message(
  const char * user_name,
  const char * subject,
  char *& message)
{
  std::cout << "Message from: " << user_name << std::endl
            << "Subject:      " << subject << std::endl
            << "Message:      " << message << std::endl;
  message = CORBA::string_dup("A reply.");
  return 1;
}