summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/FtRtEvent
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-01-31 04:04:47 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-01-31 04:04:47 +0000
commitd8f60a1286a4c45ab6fa5b057d9fc73a86573de9 (patch)
tree574c81f0251e50d3713b4e8cd47876f53b926a7b /TAO/orbsvcs/orbsvcs/FtRtEvent
parentd5caa685a4b4e630caca13e88c53b7aa0455d273 (diff)
downloadATCD-d8f60a1286a4c45ab6fa5b057d9fc73a86573de9.tar.gz
ChangeLogTag:Sun Jan 30 19:57:37 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FtRtEvent')
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp5
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp
index b343c0e9af7..c9dee536cf3 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp
@@ -3,10 +3,14 @@
#include "AMI_Replication_Strategy.h"
#include "AMI_Primary_Replication_Strategy.h"
+#include "ace/Auto_Ptr.h"
+
+
ACE_RCSID (EventChannel,
AMI_Replication_Strategy,
"$Id$")
+
AMI_Replication_Strategy::AMI_Replication_Strategy(bool mt)
: mt_(mt)
{
@@ -62,4 +66,3 @@ int AMI_Replication_Strategy::release (void)
{
return 0;
}
-
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp
index a8282efc4b9..737b88ccc8c 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp
@@ -9,12 +9,15 @@
#include "tao/ORBInitializer_Registry.h"
#include "tao/CDR.h"
+#include "ace/Auto_Ptr.h"
#include "ace/OS_NS_strings.h"
+
ACE_RCSID (EventChannel,
Replication_Service,
"$Id$")
+
namespace FTRTEC
{
namespace {
@@ -105,7 +108,7 @@ namespace FTRTEC
void Replication_Service::become_primary()
{
TAO_FTRTEC::Log(3, "become_primary\n");
-
+
Replication_Strategy* strategy =
replication_strategy->make_primary_strategy();