summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/DevGuideExamples/ImplRepo/IORTable/Messenger_i.cpp
blob: 401d9a7cd1c83ad939a4a9c6518166c6f7dc98c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// $Id$

#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;
}