diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-11-08 21:30:54 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-11-08 21:30:54 +0000 |
commit | 6d4b2796bb38434f868047419833a939e50305c5 (patch) | |
tree | af1f732c51100011b3cd522e746ffefa17c76897 /java/demo/Ice/invoke/Client.java | |
parent | adding support for encapsulations, pending objects (diff) | |
download | ice-6d4b2796bb38434f868047419833a939e50305c5.tar.bz2 ice-6d4b2796bb38434f868047419833a939e50305c5.tar.xz ice-6d4b2796bb38434f868047419833a939e50305c5.zip |
stream API changes
Diffstat (limited to 'java/demo/Ice/invoke/Client.java')
-rw-r--r-- | java/demo/Ice/invoke/Client.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/demo/Ice/invoke/Client.java b/java/demo/Ice/invoke/Client.java index 54727af149c..5e5b766c006 100644 --- a/java/demo/Ice/invoke/Client.java +++ b/java/demo/Ice/invoke/Client.java @@ -196,6 +196,7 @@ public class Client c.s.name = "blue"; c.s.value = Demo.Color.blue; Demo.CHelper.write(out, c); + out.writePendingObjects(); // // Invoke operation. @@ -226,7 +227,7 @@ public class Client Demo.CHolder c = new Demo.CHolder(); Demo.CHelper.read(in, c); String str = in.readString(); - in.finished(); + in.readPendingObjects(); in.destroy(); System.out.println("Got string `" + str + "' and class: s.name=" + c.value.s.name + ", s.value=" + c.value.s.value); |