summaryrefslogtreecommitdiff
path: root/TAO/examples/POA
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:55:59 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:55:59 +0000
commitd200c2051c92cc193fdebaabd9c4b80935f33496 (patch)
tree1534aad8ba29d75881ad6f4ab980fb04525b42f3 /TAO/examples/POA
parentc13d83545ee97972e556b1fdc6eb81c318435f76 (diff)
downloadATCD-d200c2051c92cc193fdebaabd9c4b80935f33496.tar.gz
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'TAO/examples/POA')
-rw-r--r--TAO/examples/POA/Adapter_Activator/server.cpp2
-rw-r--r--TAO/examples/POA/DSI/client.cpp4
-rw-r--r--TAO/examples/POA/DSI/server.cpp2
-rw-r--r--TAO/examples/POA/Default_Servant/client.cpp6
-rw-r--r--TAO/examples/POA/Default_Servant/server.cpp2
-rw-r--r--TAO/examples/POA/Explicit_Activation/server.cpp2
-rw-r--r--TAO/examples/POA/Forwarding/client.cpp6
-rw-r--r--TAO/examples/POA/Forwarding/server.cpp4
-rw-r--r--TAO/examples/POA/Generic_Servant/client.cpp8
-rw-r--r--TAO/examples/POA/Loader/Server_Manager.cpp2
-rw-r--r--TAO/examples/POA/On_Demand_Activation/server.cpp2
-rw-r--r--TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp2
-rw-r--r--TAO/examples/POA/Reference_Counted_Servant/server.cpp2
-rw-r--r--TAO/examples/POA/TIE/client.cpp14
14 files changed, 29 insertions, 29 deletions
diff --git a/TAO/examples/POA/Adapter_Activator/server.cpp b/TAO/examples/POA/Adapter_Activator/server.cpp
index 4e4930562bb..c47656ad461 100644
--- a/TAO/examples/POA/Adapter_Activator/server.cpp
+++ b/TAO/examples/POA/Adapter_Activator/server.cpp
@@ -179,7 +179,7 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'f':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case '?':
diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp
index 57f7ca35020..1d8950ce093 100644
--- a/TAO/examples/POA/DSI/client.cpp
+++ b/TAO/examples/POA/DSI/client.cpp
@@ -35,11 +35,11 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'k':
- IOR = ACE_OS::strdup (get_opts.optarg);
+ IOR = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'f':
- IOR_file = get_opts.optarg;
+ IOR_file = get_opts.opt_arg ();
break;
case 'x':
diff --git a/TAO/examples/POA/DSI/server.cpp b/TAO/examples/POA/DSI/server.cpp
index f7f099adf60..54fa21c0aaf 100644
--- a/TAO/examples/POA/DSI/server.cpp
+++ b/TAO/examples/POA/DSI/server.cpp
@@ -32,7 +32,7 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'f':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case '?':
default:
diff --git a/TAO/examples/POA/Default_Servant/client.cpp b/TAO/examples/POA/Default_Servant/client.cpp
index f3dcd132443..b40fb6b4f5e 100644
--- a/TAO/examples/POA/Default_Servant/client.cpp
+++ b/TAO/examples/POA/Default_Servant/client.cpp
@@ -41,13 +41,13 @@ parse_args (int argc, char **argv)
TAO_debug_level++;
break;
case 'k':
- iorfile = get_opts.optarg;
+ iorfile = get_opts.opt_arg ();
break;
case 'f':
- filename = get_opts.optarg;
+ filename = get_opts.opt_arg ();
break;
case 'm':
- message = get_opts.optarg;
+ message = get_opts.opt_arg ();
break;
case '?':
default:
diff --git a/TAO/examples/POA/Default_Servant/server.cpp b/TAO/examples/POA/Default_Servant/server.cpp
index 87502cc2a18..5ff1c36ce5c 100644
--- a/TAO/examples/POA/Default_Servant/server.cpp
+++ b/TAO/examples/POA/Default_Servant/server.cpp
@@ -34,7 +34,7 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'o':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case 'd':
TAO_debug_level++;
diff --git a/TAO/examples/POA/Explicit_Activation/server.cpp b/TAO/examples/POA/Explicit_Activation/server.cpp
index 2b53fafc97d..410a364b7f5 100644
--- a/TAO/examples/POA/Explicit_Activation/server.cpp
+++ b/TAO/examples/POA/Explicit_Activation/server.cpp
@@ -39,7 +39,7 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'f':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case '?':
diff --git a/TAO/examples/POA/Forwarding/client.cpp b/TAO/examples/POA/Forwarding/client.cpp
index a4c79f67f2f..781ee1a7ca2 100644
--- a/TAO/examples/POA/Forwarding/client.cpp
+++ b/TAO/examples/POA/Forwarding/client.cpp
@@ -37,13 +37,13 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'k':
- IOR = get_opts.optarg;
+ IOR = get_opts.opt_arg ();
break;
case 's':
- servers = ::atoi (get_opts.optarg);
+ servers = ::atoi (get_opts.opt_arg ());
break;
case 'i':
- iterations = ::atoi (get_opts.optarg);
+ iterations = ::atoi (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/examples/POA/Forwarding/server.cpp b/TAO/examples/POA/Forwarding/server.cpp
index 54e3a0d6bbf..fd0acdefe82 100644
--- a/TAO/examples/POA/Forwarding/server.cpp
+++ b/TAO/examples/POA/Forwarding/server.cpp
@@ -36,11 +36,11 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'f':
- forward_to_ior = get_opts.optarg;
+ forward_to_ior = get_opts.opt_arg ();
break;
case 'o':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case '?':
default:
diff --git a/TAO/examples/POA/Generic_Servant/client.cpp b/TAO/examples/POA/Generic_Servant/client.cpp
index 95254622d2a..121b62356a1 100644
--- a/TAO/examples/POA/Generic_Servant/client.cpp
+++ b/TAO/examples/POA/Generic_Servant/client.cpp
@@ -40,11 +40,11 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'k':
- IOR = ACE_OS::strdup (get_opts.optarg);
+ IOR = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'f':
- IOR_file = get_opts.optarg;
+ IOR_file = get_opts.opt_arg ();
break;
case 'o':
@@ -56,11 +56,11 @@ parse_args (int argc, char **argv)
break;
case 'i':
- iterations = ::atoi (get_opts.optarg);
+ iterations = ::atoi (get_opts.opt_arg ());
break;
case 'T':
- timeout = ACE_static_cast (CORBA::ULong, ::atoi (get_opts.optarg));
+ timeout = ACE_static_cast (CORBA::ULong, ::atoi (get_opts.opt_arg ()));
break;
case 'x':
diff --git a/TAO/examples/POA/Loader/Server_Manager.cpp b/TAO/examples/POA/Loader/Server_Manager.cpp
index af6ac15c768..b6e2b933323 100644
--- a/TAO/examples/POA/Loader/Server_Manager.cpp
+++ b/TAO/examples/POA/Loader/Server_Manager.cpp
@@ -28,7 +28,7 @@ Server_i::parse_args (int argc,
switch (c)
{
case 'f':
- ior_output_file_ = get_opts.optarg;
+ ior_output_file_ = get_opts.opt_arg ();
break;
case '?':
diff --git a/TAO/examples/POA/On_Demand_Activation/server.cpp b/TAO/examples/POA/On_Demand_Activation/server.cpp
index bc506124e27..8c151381fa0 100644
--- a/TAO/examples/POA/On_Demand_Activation/server.cpp
+++ b/TAO/examples/POA/On_Demand_Activation/server.cpp
@@ -32,7 +32,7 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'f':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case '?':
diff --git a/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp b/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp
index 41538165583..c0c74fb87a4 100644
--- a/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp
+++ b/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp
@@ -32,7 +32,7 @@ Server_i::parse_args (int argc,
switch (c)
{
case 'f':
- ior_output_file_ = get_opts.optarg;
+ ior_output_file_ = get_opts.opt_arg ();
break;
case '?':
diff --git a/TAO/examples/POA/Reference_Counted_Servant/server.cpp b/TAO/examples/POA/Reference_Counted_Servant/server.cpp
index 3b07f14c642..448d2d6ff3e 100644
--- a/TAO/examples/POA/Reference_Counted_Servant/server.cpp
+++ b/TAO/examples/POA/Reference_Counted_Servant/server.cpp
@@ -61,7 +61,7 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'f':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case '?':
diff --git a/TAO/examples/POA/TIE/client.cpp b/TAO/examples/POA/TIE/client.cpp
index 81e3d454956..3629894c231 100644
--- a/TAO/examples/POA/TIE/client.cpp
+++ b/TAO/examples/POA/TIE/client.cpp
@@ -34,25 +34,25 @@ parse_args (int argc, char **argv)
switch (c)
{
case 'a':
- IOR[1] = ACE_OS::strdup (get_opts.optarg);
+ IOR[1] = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'b':
- IOR[2] = ACE_OS::strdup (get_opts.optarg);
+ IOR[2] = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'c':
- IOR[3] = ACE_OS::strdup (get_opts.optarg);
+ IOR[3] = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'd':
- IOR[4] = ACE_OS::strdup (get_opts.optarg);
+ IOR[4] = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'e':
- IOR[5] = ACE_OS::strdup (get_opts.optarg);
+ IOR[5] = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'f':
- IOR[6] = ACE_OS::strdup (get_opts.optarg);
+ IOR[6] = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'i':
- iterations = ::atoi (get_opts.optarg);
+ iterations = ::atoi (get_opts.opt_arg ());
break;
case '?':
default: