summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/invoke/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-11-08 21:06:42 +0000
committerMark Spruiell <mes@zeroc.com>2004-11-08 21:06:42 +0000
commitda4d323aa2c1f5ea2fa83834b0c8b3dff9486c7e (patch)
tree0f1b24929a86999bdef44bee7b0e804522adfe3d /cpp/demo/Ice/invoke/Client.cpp
parentalways generate stream functions for class, exception (diff)
downloadice-da4d323aa2c1f5ea2fa83834b0c8b3dff9486c7e.tar.bz2
ice-da4d323aa2c1f5ea2fa83834b0c8b3dff9486c7e.tar.xz
ice-da4d323aa2c1f5ea2fa83834b0c8b3dff9486c7e.zip
stream changes
Diffstat (limited to 'cpp/demo/Ice/invoke/Client.cpp')
-rw-r--r--cpp/demo/Ice/invoke/Client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/demo/Ice/invoke/Client.cpp b/cpp/demo/Ice/invoke/Client.cpp
index 2fa9ae5d1bd..08278c29195 100644
--- a/cpp/demo/Ice/invoke/Client.cpp
+++ b/cpp/demo/Ice/invoke/Client.cpp
@@ -213,6 +213,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
c->s.name = "blue";
c->s.value = Demo::blue;
Demo::ice_writeC(out, c);
+ out->writePendingObjects();
out->finished(inParams);
//
@@ -242,7 +243,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
Demo::CPtr c;
Demo::ice_readC(in, c);
string str = in->readString();
- in->finished();
+ in->readPendingObjects();
cout << "Got string `" << str << "' and class: s.name=" << c->s.name
<< ", s.value=" << c->s.value << endl;
}