summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp b/TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp
index ed167418d38..796c320e280 100644
--- a/TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/EventChannel_Command.cpp
@@ -11,29 +11,29 @@ ACE_RCSID(lib, TAO_EventChannel_Command, "$id$")
#include "ace/Dynamic_Service.h"
#include "../../../orbsvcs/Notify/Service.h"
-TAO_NS_EventChannel_Command::TAO_NS_EventChannel_Command (void)
+TAO_Notify_Tests_EventChannel_Command::TAO_Notify_Tests_EventChannel_Command (void)
: collocated_ (0)
{
}
-TAO_NS_EventChannel_Command::~TAO_NS_EventChannel_Command ()
+TAO_Notify_Tests_EventChannel_Command::~TAO_Notify_Tests_EventChannel_Command ()
{
}
const char*
-TAO_NS_EventChannel_Command::get_name (void)
+TAO_Notify_Tests_EventChannel_Command::get_name (void)
{
- return TAO_NS_EventChannel_Command::name ();
+ return TAO_Notify_Tests_EventChannel_Command::name ();
}
const char*
-TAO_NS_EventChannel_Command::name (void)
+TAO_Notify_Tests_EventChannel_Command::name (void)
{
- return TAO_NS_Name::event_channel_command;
+ return TAO_Notify_Tests_Name::event_channel_command;
}
void
-TAO_NS_EventChannel_Command::init (ACE_Arg_Shifter& arg_shifter)
+TAO_Notify_Tests_EventChannel_Command::init (ACE_Arg_Shifter& arg_shifter)
{
if (arg_shifter.is_anything_left ())
{
@@ -57,7 +57,7 @@ TAO_NS_EventChannel_Command::init (ACE_Arg_Shifter& arg_shifter)
if (arg_shifter.cur_arg_strncasecmp ("COLOCATED") == 0) // grandfather in misspelled
{
this->collocated_ = 1;
- ACE_DEBUG ((LM_WARNING, "TAO_NS_EventChannel_Command::init --"
+ ACE_DEBUG ((LM_WARNING, "TAO_Notify_Tests_EventChannel_Command::init --"
" warning: deprecated misspelled COLOCATED option used.\n"));
}
}
@@ -81,21 +81,21 @@ TAO_NS_EventChannel_Command::init (ACE_Arg_Shifter& arg_shifter)
arg_shifter.consume_arg ();
- TAO_NS_Options_Parser qos_parser;
+ TAO_Notify_Tests_Options_Parser qos_parser;
qos_parser.execute (this->qos_, arg_shifter);
}
}
}
void
-TAO_NS_EventChannel_Command::create_collocated_ecf (ACE_ENV_SINGLE_ARG_DECL)
+TAO_Notify_Tests_EventChannel_Command::create_collocated_ecf (ACE_ENV_SINGLE_ARG_DECL)
{
CosNotifyChannelAdmin::EventChannelFactory_var notify_factory;
// The Service Object.
TAO_Notify_Service* notify_service;
- notify_service = ACE_Dynamic_Service<TAO_Notify_Service>::instance (TAO_NS_NOTIFICATION_SERVICE_NAME);
+ notify_service = ACE_Dynamic_Service<TAO_Notify_Service>::instance (TAO_NOTIFICATION_SERVICE_NAME);
if (notify_service == 0)
{
@@ -130,7 +130,7 @@ TAO_NS_EventChannel_Command::create_collocated_ecf (ACE_ENV_SINGLE_ARG_DECL)
// Register with the Naming Service
CosNaming::Name_var name =
- naming->to_name (TAO_NS_Name::event_channel_factory
+ naming->to_name (TAO_Notify_Tests_Name::event_channel_factory
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
@@ -141,7 +141,7 @@ TAO_NS_EventChannel_Command::create_collocated_ecf (ACE_ENV_SINGLE_ARG_DECL)
}
void
-TAO_NS_EventChannel_Command::handle_create (ACE_ENV_SINGLE_ARG_DECL)
+TAO_Notify_Tests_EventChannel_Command::handle_create (ACE_ENV_SINGLE_ARG_DECL)
{
if (this->collocated_ == 1)
{
@@ -151,7 +151,7 @@ TAO_NS_EventChannel_Command::handle_create (ACE_ENV_SINGLE_ARG_DECL)
CosNotifyChannelAdmin::EventChannelFactory_var ec_factory;
- LOOKUP_MANAGER->resolve (ec_factory , TAO_NS_Name::event_channel_factory ACE_ENV_ARG_PARAMETER);
+ LOOKUP_MANAGER->resolve (ec_factory , TAO_Notify_Tests_Name::event_channel_factory ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
CosNotification::QoSProperties qos;
@@ -170,7 +170,7 @@ TAO_NS_EventChannel_Command::handle_create (ACE_ENV_SINGLE_ARG_DECL)
}
void
-TAO_NS_EventChannel_Command::handle_destroy (ACE_ENV_SINGLE_ARG_DECL)
+TAO_Notify_Tests_EventChannel_Command::handle_destroy (ACE_ENV_SINGLE_ARG_DECL)
{
ACE_DEBUG ((LM_DEBUG, "Destroying event channel %s\n", this->name_.c_str ()));
CosNotifyChannelAdmin::EventChannel_var ec;
@@ -182,7 +182,7 @@ TAO_NS_EventChannel_Command::handle_destroy (ACE_ENV_SINGLE_ARG_DECL)
ACE_CHECK;
}
void
-TAO_NS_EventChannel_Command::handle_set_qos (ACE_ENV_SINGLE_ARG_DECL)
+TAO_Notify_Tests_EventChannel_Command::handle_set_qos (ACE_ENV_SINGLE_ARG_DECL)
{
CosNotifyChannelAdmin::EventChannel_var ec;
@@ -194,13 +194,13 @@ TAO_NS_EventChannel_Command::handle_set_qos (ACE_ENV_SINGLE_ARG_DECL)
}
void
-TAO_NS_EventChannel_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+TAO_Notify_Tests_EventChannel_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
{
//@@ TODO: Implement
}
void
-TAO_NS_EventChannel_Command::execute_i (ACE_ENV_SINGLE_ARG_DECL)
+TAO_Notify_Tests_EventChannel_Command::execute_i (ACE_ENV_SINGLE_ARG_DECL)
{
if (this->command_ == CREATE)
{