summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/nrvo/Client.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2008-12-29 23:09:51 +0100
committerJose <jose@zeroc.com>2008-12-29 23:09:51 +0100
commitfe3208fdeaee9163ef4eed290767603728c1535f (patch)
tree2e6735f948863ab84bed1ee3ca1befde559e7695 /cpp/demo/Ice/nrvo/Client.cpp
parentRevert "Fix 3608 - IceStorm.ice includes Identity.ice" (diff)
downloadice-fe3208fdeaee9163ef4eed290767603728c1535f.tar.bz2
ice-fe3208fdeaee9163ef4eed290767603728c1535f.tar.xz
ice-fe3208fdeaee9163ef4eed290767603728c1535f.zip
Nrvo demo fixes
Diffstat (limited to 'cpp/demo/Ice/nrvo/Client.cpp')
-rw-r--r--cpp/demo/Ice/nrvo/Client.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/demo/Ice/nrvo/Client.cpp b/cpp/demo/Ice/nrvo/Client.cpp
index 2b98af66eed..7fec1f3ea71 100644
--- a/cpp/demo/Ice/nrvo/Client.cpp
+++ b/cpp/demo/Ice/nrvo/Client.cpp
@@ -80,14 +80,14 @@ NrvoClient::run(int argc, char* argv[])
case '2':
{
cout << "calling op2" << endl;
- StringSeq seq= nrvo->op2();
+ MyStringSeq seq = nrvo->op2();
break;
}
case '3':
{
cout << "calling op3" << endl;
- StringSeq seq= nrvo->op3(10);
+ MyStringSeq seq = nrvo->op3(10);
break;
}
@@ -132,9 +132,9 @@ NrvoClient::menu()
"usage:\n"
"\n"
"Operation to call:\n"
- "1: return a value object.\n"
- "2: return a value object that is a member attribute.\n"
- "3: return a value object from an operation with multiple return path.\n"
+ "1: return a string sequence.\n"
+ "2: return a string sequence that is a data member of the servant.\n"
+ "3: return a string sequence from an operation with multiple return path.\n"
"s: shutdown server.\n"
"x: exit.\n"
"?: show this menu.\n";