summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/Messaging/AMIcallback
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2008-10-22 15:45:34 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2008-10-22 15:45:34 +0000
commit06cce05fac6637954a06399a4ceb0e30b875e466 (patch)
tree98f01ca77147cb6cc3a9bb26342fb0560955eacc /TAO/DevGuideExamples/Messaging/AMIcallback
parentec6f37e15143bd99f636757e86720cd1504552f7 (diff)
downloadATCD-06cce05fac6637954a06399a4ceb0e30b875e466.tar.gz
Wed Oct 22 15:42:56 UTC 2008 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/DevGuideExamples/Messaging/AMIcallback')
-rw-r--r--TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp6
-rw-r--r--TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp4
-rw-r--r--TAO/DevGuideExamples/Messaging/AMIcallback/Messenger_i.cpp14
3 files changed, 12 insertions, 12 deletions
diff --git a/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp b/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp
index 4b0b013ec89..e9afc3a5e6c 100644
--- a/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp
+++ b/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerClient.cpp
@@ -3,9 +3,9 @@
#include "MessengerC.h"
#include "MessengerHandler.h"
-#include <ace/OS_NS_stdio.h>
-#include <ace/OS_NS_unistd.h>
-#include <ace/OS_NS_sys_time.h>
+#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
+#include "ace/OS_NS_sys_time.h"
#include <iostream>
//-----------------------------------------------------------------------------
diff --git a/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp b/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp
index ad31f84aeab..05b7704ef2f 100644
--- a/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp
+++ b/TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp
@@ -1,7 +1,7 @@
// $Id$
#include "MessengerHandler.h"
-#include <ace/OS_NS_time.h>
+#include "ace/OS_NS_time.h"
#include <iostream>
// Implementation skeleton constructor
@@ -20,7 +20,7 @@ void MessengerHandler::send_message (
CORBA::Boolean ami_return_val,
const char * message,
CORBA::Long time
- )
+ )
{
if (ami_return_val)
{
diff --git a/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger_i.cpp b/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger_i.cpp
index 820971c777c..b4e205cde4d 100644
--- a/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger_i.cpp
+++ b/TAO/DevGuideExamples/Messaging/AMIcallback/Messenger_i.cpp
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#include "Messenger_i.h"
-#include <ace/OS_NS_unistd.h>
-#include <ace/OS_NS_sys_time.h>
+#include "ace/OS_NS_unistd.h"
+#include "ace/OS_NS_sys_time.h"
#include <iostream>
// Implementation skeleton constructor
Messenger_i::Messenger_i (unsigned int seconds_to_wait,
@@ -36,22 +36,22 @@ CORBA::Boolean Messenger_i::send_message (
std::cout << "Throwing MessengerUnableToSendMessage exception." << std::endl;
throw MessengerUnableToSendMessage();
}
-
+
std::cout << "Write a letter to " << user_name << " as follows:" << std::endl;
std::cout << "Subject: " << subject << std::endl;
std::cout << "Dear " << user_name << ',' << std::endl;
std::cout << message << std::endl;
-
+
if (seconds_to_wait_ > 0)
{
std::cout << "Waiting for " << seconds_to_wait_ << " seconds..." << std::flush;
ACE_OS::sleep(seconds_to_wait_);
std::cout << " Done waiting" << std::endl;
}
-
- // Record the time the message was sent
+
+ // Record the time the message was sent
time_sent = static_cast<CORBA::Long> (ACE_OS::gettimeofday().sec());
-
+
// We will assume the message has been sent, so return true
return 1;
}