diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-06-08 14:18:49 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-06-08 14:18:49 +0000 |
commit | e52846ac17fdc399a69464e98dbb68b93978875a (patch) | |
tree | dbd62dbedfbe05df3f310f8505fe57327c0ea2c5 /java/demo | |
parent | fix for bug 774: simplify use of streaming API in templates (diff) | |
download | ice-e52846ac17fdc399a69464e98dbb68b93978875a.tar.bz2 ice-e52846ac17fdc399a69464e98dbb68b93978875a.tar.xz ice-e52846ac17fdc399a69464e98dbb68b93978875a.zip |
bug 774: changing __read/__write to ice_read/ice_write
Diffstat (limited to 'java/demo')
-rw-r--r-- | java/demo/Ice/invoke/Client.java | 4 | ||||
-rw-r--r-- | java/demo/Ice/invoke/PrinterI.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/java/demo/Ice/invoke/Client.java b/java/demo/Ice/invoke/Client.java index e9546117961..2a4d19a711e 100644 --- a/java/demo/Ice/invoke/Client.java +++ b/java/demo/Ice/invoke/Client.java @@ -124,7 +124,7 @@ public class Client extends Ice.Application // Marshal the in parameter. // Ice.OutputStream out = Ice.Util.createOutputStream(communicator()); - Demo.Color.green.__write(out); + Demo.Color.green.ice_write(out); // // Invoke operation. @@ -145,7 +145,7 @@ public class Client extends Ice.Application Demo.Structure s = new Demo.Structure(); s.name = "red"; s.value = Demo.Color.red; - s.__write(out); + s.ice_write(out); // // Invoke operation. diff --git a/java/demo/Ice/invoke/PrinterI.java b/java/demo/Ice/invoke/PrinterI.java index d7a52dc357d..b0921ca75fe 100644 --- a/java/demo/Ice/invoke/PrinterI.java +++ b/java/demo/Ice/invoke/PrinterI.java @@ -65,7 +65,7 @@ public class PrinterI extends Ice.Blobject } else if(current.operation.equals("printEnum")) { - Demo.Color c = Demo.Color.__read(in); + Demo.Color c = Demo.Color.ice_read(in); in.destroy(); System.out.println("Printing enum " + c); return true; @@ -73,7 +73,7 @@ public class PrinterI extends Ice.Blobject else if(current.operation.equals("printStruct")) { Demo.Structure s = new Demo.Structure(); - s.__read(in); + s.ice_read(in); in.destroy(); System.out.println("Printing struct: name=" + s.name + ", value=" + s.value); return true; |