summaryrefslogtreecommitdiff
path: root/examples/ASX/UPIPE_Event_Server/Options.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:46:44 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:46:44 +0000
commit0bc80fab4dc53994efbd511b22b0c86d59baff8c (patch)
tree3e074e160a2e59a236f10781cfcb0e071b49fac8 /examples/ASX/UPIPE_Event_Server/Options.cpp
parentcde21c2507ace716fc833231662ff0f85ff13f5a (diff)
downloadATCD-0bc80fab4dc53994efbd511b22b0c86d59baff8c.tar.gz
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/ASX/UPIPE_Event_Server/Options.cpp')
-rw-r--r--examples/ASX/UPIPE_Event_Server/Options.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/examples/ASX/UPIPE_Event_Server/Options.cpp b/examples/ASX/UPIPE_Event_Server/Options.cpp
index f497db4fd29..c39f5eefcde 100644
--- a/examples/ASX/UPIPE_Event_Server/Options.cpp
+++ b/examples/ASX/UPIPE_Event_Server/Options.cpp
@@ -104,46 +104,46 @@ Options::parse_args (int argc, char *argv[])
this->t_flags (THR_BOUND);
break;
case 'C':
- this->consumer_file (getopt.optarg);
+ this->consumer_file (getopt.opt_arg ());
break;
case 'c':
- this->consumer_port (getopt.optarg);
+ this->consumer_port (getopt.opt_arg ());
break;
case 'd':
this->debugging_ = 1;
break;
case 'H':
- this->high_water_mark (ACE_OS::atoi (getopt.optarg));
+ this->high_water_mark (ACE_OS::atoi (getopt.opt_arg ()));
break;
case 'i':
- this->iterations (ACE_OS::atoi (getopt.optarg));
+ this->iterations (ACE_OS::atoi (getopt.opt_arg ()));
break;
case 'L':
- this->low_water_mark (ACE_OS::atoi (getopt.optarg));
+ this->low_water_mark (ACE_OS::atoi (getopt.opt_arg ()));
break;
case 'l':
- this->initial_queue_length (ACE_OS::atoi (getopt.optarg));
+ this->initial_queue_length (ACE_OS::atoi (getopt.opt_arg ()));
break;
case 'M':
- this->message_size (ACE_OS::atoi (getopt.optarg));
+ this->message_size (ACE_OS::atoi (getopt.opt_arg ()));
break;
case 'n':
this->t_flags (THR_NEW_LWP);
break;
case 'S':
- this->supplier_file (getopt.optarg);
+ this->supplier_file (getopt.opt_arg ());
break;
case 's':
- this->supplier_port (getopt.optarg);
+ this->supplier_port (getopt.opt_arg ());
break;
case 'T':
- if (ACE_OS::strcasecmp (getopt.optarg, "ON") == 0)
+ if (ACE_OS::strcasecmp (getopt.opt_arg (), "ON") == 0)
ACE_Trace::start_tracing ();
- else if (ACE_OS::strcasecmp (getopt.optarg, "OFF") == 0)
+ else if (ACE_OS::strcasecmp (getopt.opt_arg (), "OFF") == 0)
ACE_Trace::stop_tracing ();
break;
case 't':
- this->thr_count (ACE_OS::atoi (getopt.optarg));
+ this->thr_count (ACE_OS::atoi (getopt.opt_arg ()));
break;
case 'v':
this->verbosity_ = 1;