diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-30 14:23:42 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-30 14:23:42 +0000 |
commit | d7df9a2cec6a217d55f1a237b559814b50de9f78 (patch) | |
tree | 0ad7522aefaf52cac0a2998d66d383f685c06493 /TAO/orbsvcs/Notify_Service | |
parent | a81a108720aefc9133100a0f71ed50931e9ad107 (diff) | |
download | ATCD-d7df9a2cec6a217d55f1a237b559814b50de9f78.tar.gz |
ChangeLogTag: Tue Aug 30 14:23:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/Notify_Service')
-rw-r--r-- | TAO/orbsvcs/Notify_Service/Notify_Server.cpp | 4 | ||||
-rw-r--r-- | TAO/orbsvcs/Notify_Service/Notify_Service.cpp | 22 |
2 files changed, 13 insertions, 13 deletions
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Server.cpp b/TAO/orbsvcs/Notify_Service/Notify_Server.cpp index d28633e6d52..9391659c628 100644 --- a/TAO/orbsvcs/Notify_Service/Notify_Server.cpp +++ b/TAO/orbsvcs/Notify_Service/Notify_Server.cpp @@ -27,7 +27,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { if (notify_service.init (argc, argv ACE_ENV_ARG_PARAMETER) == -1) ACE_ERROR_RETURN ((LM_ERROR, - ACE_LIB_TEXT("Failed to initialize the Notification Service.\n")), + ACE_TEXT("Failed to initialize the Notification Service.\n")), 1); notify_service.run (ACE_ENV_SINGLE_ARG_PARAMETER); @@ -36,7 +36,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_CATCHANY { ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - ACE_LIB_TEXT("Failed to run the Notification Service\n")); + ACE_TEXT("Failed to run the Notification Service\n")); return 1; } ACE_ENDTRY; diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp index 7563f69ed85..5fe0b202b60 100644 --- a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp +++ b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp @@ -318,66 +318,66 @@ TAO_Notify_Service_Driver::parse_args (int &argc, ACE_TCHAR *argv[]) const ACE_TCHAR* current_arg = 0; while (arg_shifter.is_anything_left ()) { - if ((current_arg = arg_shifter.get_the_parameter (ACE_LIB_TEXT("-Factory")))) + if ((current_arg = arg_shifter.get_the_parameter (ACE_TEXT("-Factory")))) { this->notify_factory_name_.set (ACE_TEXT_ALWAYS_CHAR(current_arg)); arg_shifter.consume_arg (); } - else if (arg_shifter.cur_arg_strncasecmp (ACE_LIB_TEXT("-Boot")) == 0) + else if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Boot")) == 0) { this->bootstrap_ = 1; // Make it bootstrappable arg_shifter.consume_arg (); } - else if (arg_shifter.cur_arg_strncasecmp (ACE_LIB_TEXT("-NameSvc")) == 0) + else if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-NameSvc")) == 0) { this->use_name_svc_ = 1; // Register ref with the name service arg_shifter.consume_arg (); } - else if (arg_shifter.cur_arg_strncasecmp (ACE_LIB_TEXT("-NoNameSvc")) == 0) + else if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-NoNameSvc")) == 0) { this->use_name_svc_ = 0; // Don't Register ref with the name service arg_shifter.consume_arg (); } - else if ((current_arg = arg_shifter.get_the_parameter (ACE_LIB_TEXT("-IORoutput")))) + else if ((current_arg = arg_shifter.get_the_parameter (ACE_TEXT("-IORoutput")))) { - this->ior_output_file_ = ACE_OS::fopen (current_arg, ACE_LIB_TEXT("w")); + this->ior_output_file_ = ACE_OS::fopen (current_arg, ACE_TEXT("w")); if (this->ior_output_file_ == 0) ACE_ERROR_RETURN ((LM_ERROR, "Unable to open %s for writing: %p\n", current_arg), -1); arg_shifter.consume_arg (); } - else if ((current_arg = arg_shifter.get_the_parameter (ACE_LIB_TEXT("-ChannelName")))) + else if ((current_arg = arg_shifter.get_the_parameter (ACE_TEXT("-ChannelName")))) { this->notify_channel_name_.set(ACE_TEXT_ALWAYS_CHAR(current_arg)); arg_shifter.consume_arg (); } - else if (arg_shifter.cur_arg_strncasecmp (ACE_LIB_TEXT("-Channel")) == 0) + else if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Channel")) == 0) { this->register_event_channel_ = 1; // Register one EC with naming. arg_shifter.consume_arg (); } - else if ((current_arg = arg_shifter.get_the_parameter (ACE_LIB_TEXT("-Notify_TPReactor")))) + else if ((current_arg = arg_shifter.get_the_parameter (ACE_TEXT("-Notify_TPReactor")))) { ACE_DEBUG((LM_DEBUG, "-Notify_TPReactor option is deprecated, use -ORBRunThreads option\n")); this->nthreads_ = ACE_OS::atoi (current_arg); arg_shifter.consume_arg (); } - else if ((current_arg = arg_shifter.get_the_parameter (ACE_LIB_TEXT("-ORBRunThreads")))) + else if ((current_arg = arg_shifter.get_the_parameter (ACE_TEXT("-ORBRunThreads")))) { this->nthreads_ = ACE_OS::atoi (current_arg); arg_shifter.consume_arg (); } - else if (arg_shifter.cur_arg_strncasecmp (ACE_LIB_TEXT("-?")) == 0) + else if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-?")) == 0) { ACE_DEBUG((LM_DEBUG, "usage: %s -Factory factory_name " |